QTJPlayer 1.0.2 beta

de.muntjak.qtjplayer
Class PlayListEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by de.muntjak.qtjplayer.PlayListEditor
All Implemented Interfaces:
PropertyEditor

public class PlayListEditor
extends PropertyEditorSupport

PlayListEditor is a custom property editor to be used with builder tools. It allows for specifing QTJPlayer's playList property by choosing the desired files from a MovieChooser and to re-sort loaded entries with drag and drop.


Constructor Summary
PlayListEditor()
           
 
Method Summary
 String getAsText()
          Returns the current value's string representation.
 Component getCustomEditor()
          Returns the custom editor, a JPanel similar to the play list panel.
 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

PlayListEditor

public PlayListEditor()
Method Detail

getCustomEditor

public Component getCustomEditor()
Returns the custom editor, a JPanel similar to the play list panel.

Specified by:
getCustomEditor in interface PropertyEditor
Overrides:
getCustomEditor in class PropertyEditorSupport

supportsCustomEditor

public boolean supportsCustomEditor()
Returns true.

Specified by:
supportsCustomEditor in interface PropertyEditor
Overrides:
supportsCustomEditor in class PropertyEditorSupport

getAsText

public String getAsText()
Returns the current value's string representation.

Specified by:
getAsText in interface PropertyEditor
Overrides:
getAsText in class PropertyEditorSupport

setValue

public void setValue(Object value)
Set (or change) the object that is to be edited.

Specified by:
setValue in interface PropertyEditor
Overrides:
setValue in class PropertyEditorSupport

QTJPlayer 1.0.2 beta