de.muntjak.qtjplayer
Class PlayListEditor

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

public class PlayListEditor
extends java.beans.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
 java.lang.String getAsText()
          Returns the current value's string representation.
 java.awt.Component getCustomEditor()
          Returns the custom editor, a JPanel similar to the play list panel.
 void setValue(java.lang.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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlayListEditor

public PlayListEditor()
Method Detail

getAsText

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

Specified by:
getAsText in interface java.beans.PropertyEditor
Overrides:
getAsText in class java.beans.PropertyEditorSupport

getCustomEditor

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

Specified by:
getCustomEditor in interface java.beans.PropertyEditor
Overrides:
getCustomEditor in class java.beans.PropertyEditorSupport

setValue

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

Specified by:
setValue in interface java.beans.PropertyEditor
Overrides:
setValue in class java.beans.PropertyEditorSupport

supportsCustomEditor

public boolean supportsCustomEditor()
Returns true.

Specified by:
supportsCustomEditor in interface java.beans.PropertyEditor
Overrides:
supportsCustomEditor in class java.beans.PropertyEditorSupport