public class IlvPercentPropertyEditor extends PropertyEditorSupport
Constructor and Description |
---|
IlvPercentPropertyEditor()
Creates a new
IlvPercentPropertyEditor with a 0-200 range. |
IlvPercentPropertyEditor(int minValue,
int maxValue)
Creates a new
IlvPercentPropertyEditor with a specified range. |
Modifier and Type | Method and Description |
---|---|
String |
getAsText() |
Component |
getCustomEditor() |
String |
getJavaInitializationString() |
Object |
getValue() |
boolean |
isPaintable()
This property does not require specific painting.
|
void |
paintValue(Graphics gfx,
Rectangle box)
No specific painting done.
|
void |
setValue(Object value) |
boolean |
supportsCustomEditor()
This property editor supports a custom editor.
|
addPropertyChangeListener, firePropertyChange, getSource, getTags, removePropertyChangeListener, setAsText, setSource
public IlvPercentPropertyEditor()
IlvPercentPropertyEditor
with a 0-200 range.public IlvPercentPropertyEditor(int minValue, int maxValue)
IlvPercentPropertyEditor
with a specified range.minValue
- The minimum percentagemaxValue
- The maximum percentagepublic Component getCustomEditor()
getCustomEditor
in interface PropertyEditor
getCustomEditor
in class PropertyEditorSupport
PropertyEditorSupport.getCustomEditor()
public String getJavaInitializationString()
getJavaInitializationString
in interface PropertyEditor
getJavaInitializationString
in class PropertyEditorSupport
PropertyEditorSupport.getJavaInitializationString()
public boolean isPaintable()
isPaintable
in interface PropertyEditor
isPaintable
in class PropertyEditorSupport
false
PropertyEditorSupport.isPaintable()
public void paintValue(Graphics gfx, Rectangle box)
paintValue
in interface PropertyEditor
paintValue
in class PropertyEditorSupport
PropertyEditorSupport.paintValue(java.awt.Graphics, java.awt.Rectangle)
public boolean supportsCustomEditor()
supportsCustomEditor
in interface PropertyEditor
supportsCustomEditor
in class PropertyEditorSupport
true
PropertyEditorSupport.supportsCustomEditor()
public void setValue(Object value)
setValue
in interface PropertyEditor
setValue
in class PropertyEditorSupport
PropertyEditorSupport.setValue(java.lang.Object)
public String getAsText()
getAsText
in interface PropertyEditor
getAsText
in class PropertyEditorSupport
PropertyEditorSupport.getAsText()
public Object getValue()
getValue
in interface PropertyEditor
getValue
in class PropertyEditorSupport
PropertyEditorSupport.getValue()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.