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, setSourcepublic 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 PropertyEditorgetCustomEditor in class PropertyEditorSupportPropertyEditorSupport.getCustomEditor()public String getJavaInitializationString()
getJavaInitializationString in interface PropertyEditorgetJavaInitializationString in class PropertyEditorSupportPropertyEditorSupport.getJavaInitializationString()public boolean isPaintable()
isPaintable in interface PropertyEditorisPaintable in class PropertyEditorSupportfalsePropertyEditorSupport.isPaintable()public void paintValue(Graphics gfx, Rectangle box)
paintValue in interface PropertyEditorpaintValue in class PropertyEditorSupportPropertyEditorSupport.paintValue(java.awt.Graphics, java.awt.Rectangle)public boolean supportsCustomEditor()
supportsCustomEditor in interface PropertyEditorsupportsCustomEditor in class PropertyEditorSupporttruePropertyEditorSupport.supportsCustomEditor()public void setValue(Object value)
setValue in interface PropertyEditorsetValue in class PropertyEditorSupportPropertyEditorSupport.setValue(java.lang.Object)public String getAsText()
getAsText in interface PropertyEditorgetAsText in class PropertyEditorSupportPropertyEditorSupport.getAsText()public Object getValue()
getValue in interface PropertyEditorgetValue in class PropertyEditorSupportPropertyEditorSupport.getValue()© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.