|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.beans.PropertyEditorSupport
ilog.views.maps.beans.editor.IlvPercentPropertyEditor
public class IlvPercentPropertyEditor
An editor for a double value containing percentage (by default between 0 and 200%).
| Constructor Summary | |
|---|---|
IlvPercentPropertyEditor()
Creates a new IlvPercentPropertyEditor with 0-200 range. |
|
IlvPercentPropertyEditor(int minValue,
int maxValue)
Creates a new IlvPercentPropertyEditor with specified range. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.beans.PropertyEditorSupport |
|---|
addPropertyChangeListener, firePropertyChange, getSource, getTags, removePropertyChangeListener, setAsText, setSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvPercentPropertyEditor()
IlvPercentPropertyEditor with 0-200 range.
public IlvPercentPropertyEditor(int minValue,
int maxValue)
IlvPercentPropertyEditor with specified range.
minValue - minimum percentmaxValue - maximum percent| Method Detail |
|---|
public 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 PropertyEditorSupportPropertyEditorSupport.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 PropertyEditorSupportPropertyEditorSupport.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()
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||