|
QTJPlayer 1.0.2 beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.beans.PropertyEditorSupport
de.muntjak.qtjplayer.MoviesSizeEditor
public class MoviesSizeEditor
MovieSizeEditor is a custom property editor to be used with
builder tools. It allows for specifying QTJPlayer's
moviesSize
property by selecting values from
a combo box.
Constructor Summary | |
---|---|
MoviesSizeEditor()
|
Method Summary | |
---|---|
String |
getAsText()
Returns the current value's string representation. |
Component |
getCustomEditor()
Returns the custom editor, a JComboBox instance. |
void |
setValue(Object value)
Set (or change) the object that is to be edited. |
boolean |
supportsCustomEditor()
Returns true . |
Methods inherited from class java.beans.PropertyEditorSupport |
---|
addPropertyChangeListener, firePropertyChange, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setAsText, setSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MoviesSizeEditor()
Method Detail |
---|
public Component getCustomEditor()
getCustomEditor
in interface PropertyEditor
getCustomEditor
in class PropertyEditorSupport
public boolean supportsCustomEditor()
true
.
supportsCustomEditor
in interface PropertyEditor
supportsCustomEditor
in class PropertyEditorSupport
public String getAsText()
getAsText
in interface PropertyEditor
getAsText
in class PropertyEditorSupport
public void setValue(Object value)
setValue
in interface PropertyEditor
setValue
in class PropertyEditorSupport
|
QTJPlayer 1.0.2 beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |