|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.progeeks.meta.swing.AbstractPropertyUI
org.progeeks.meta.swing.AbstractPropertyEditor
org.progeeks.meta.swing.DefaultPropertyEditor
public class DefaultPropertyEditor
Default implementation of MetaPropertyEditor that uses a property format object and a JTextField to apply changes to a PropertyMutator.
Constructor Summary | |
---|---|
DefaultPropertyEditor(PropertyFormat format)
|
Method Summary | |
---|---|
protected void |
componentChanged()
|
void |
flushEdits()
Causes any edits in progress to be flushed to the mutator if possible. |
java.awt.Component |
getUIComponent()
Returns the component that allows modification of the associated property mutator. |
protected void |
releaseComponent()
Implemented by subclasses to release any component-related resources. |
protected void |
setComponentValue(java.lang.Object value)
Called to set the current value displayed in the component. |
Methods inherited from class org.progeeks.meta.swing.AbstractPropertyUI |
---|
getPropertyMutator, getViewContext, initializeView, isLabeled, isSingleColumn, propertyChanged, release, resetComponentValue, setPropertyMutator, setPropertyValue, setupToolTipText, terminateView |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.progeeks.meta.swing.MetaPropertyUI |
---|
getViewContext, initializeView, isLabeled, isSingleColumn, release, setPropertyMutator |
Constructor Detail |
---|
public DefaultPropertyEditor(PropertyFormat format)
Method Detail |
---|
protected void setComponentValue(java.lang.Object value)
setComponentValue
in class AbstractPropertyUI
protected void releaseComponent()
releaseComponent
in class AbstractPropertyEditor
public java.awt.Component getUIComponent()
getUIComponent
in interface MetaPropertyUI
getUIComponent
in class AbstractPropertyUI
public void flushEdits()
flushEdits
in interface MetaPropertyEditor
flushEdits
in class AbstractPropertyEditor
protected void componentChanged()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |