com.raelity.jvi.cmd
Class OptionsDialog.ColorPropertyEditor

java.lang.Object
  extended by com.l2fprod.common.beans.editor.AbstractPropertyEditor
      extended by com.raelity.jvi.cmd.OptionsDialog.ColorPropertyEditor
All Implemented Interfaces:
PropertyEditor
Enclosing class:
OptionsDialog

public static class OptionsDialog.ColorPropertyEditor
extends com.l2fprod.common.beans.editor.AbstractPropertyEditor


Field Summary
static int SHOW_DFLT
           
static int SHOW_NULL
           
 
Fields inherited from class com.l2fprod.common.beans.editor.AbstractPropertyEditor
editor
 
Constructor Summary
OptionsDialog.ColorPropertyEditor()
           
OptionsDialog.ColorPropertyEditor(int flags, com.l2fprod.common.propertysheet.Property property)
           
OptionsDialog.ColorPropertyEditor(com.l2fprod.common.propertysheet.Property property)
           
 
Method Summary
 Object getValue()
           
protected  void selectColor()
           
protected  void selectDefault()
           
protected  void selectNull()
           
 void setValue(Object value)
           
 
Methods inherited from class com.l2fprod.common.beans.editor.AbstractPropertyEditor
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getTags, isPaintable, paintValue, removePropertyChangeListener, setAsText, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SHOW_NULL

public static final int SHOW_NULL
See Also:
Constant Field Values

SHOW_DFLT

public static final int SHOW_DFLT
See Also:
Constant Field Values
Constructor Detail

OptionsDialog.ColorPropertyEditor

public OptionsDialog.ColorPropertyEditor()

OptionsDialog.ColorPropertyEditor

public OptionsDialog.ColorPropertyEditor(com.l2fprod.common.propertysheet.Property property)

OptionsDialog.ColorPropertyEditor

public OptionsDialog.ColorPropertyEditor(int flags,
                                         com.l2fprod.common.propertysheet.Property property)
Parameters:
flags - of SHOW_NULL, SHOW_DFLT controls extra editing buttons
property - used to determine default value
Method Detail

getValue

public Object getValue()
Specified by:
getValue in interface PropertyEditor
Overrides:
getValue in class com.l2fprod.common.beans.editor.AbstractPropertyEditor

setValue

public void setValue(Object value)
Specified by:
setValue in interface PropertyEditor
Overrides:
setValue in class com.l2fprod.common.beans.editor.AbstractPropertyEditor

selectColor

protected void selectColor()

selectDefault

protected void selectDefault()

selectNull

protected void selectNull()