| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.beans.PropertyEditorSupport
org.jdesktop.swingx.editors.InsetsPropertyEditor
public class InsetsPropertyEditor
| Constructor Summary | |
|---|---|
InsetsPropertyEditor()
Creates a new instance of InsetsPropertyEditor  | 
|
| Method Summary | |
|---|---|
 String | 
getAsText()
Gets the property value as a string suitable for presentation to a human to edit.  | 
 Insets | 
getValue()
Gets the value of the property.  | 
 void | 
setAsText(String text)
Sets the property value by parsing a given String.  | 
| Methods inherited from class java.beans.PropertyEditorSupport | 
|---|
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public InsetsPropertyEditor()
| Method Detail | 
|---|
public Insets getValue()
java.beans.PropertyEditorSupport
getValue in interface PropertyEditorgetValue in class PropertyEditorSupportpublic void setAsText(String text)
java.beans.PropertyEditorSupport
setAsText in interface PropertyEditorsetAsText in class PropertyEditorSupporttext - The string to be parsed.public String getAsText()
java.beans.PropertyEditorSupport
getAsText in interface PropertyEditorgetAsText in class PropertyEditorSupportReturns "null" is the value can't be expressed as a string.
If a non-null value is returned, then the PropertyEditor should be prepared to parse that string back in setAsText().
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||