org.das2.components.propertyeditor.PropertyEditor

This class implements a Hierarchical property editor

PropertyEditor( Object bean )

create a PropertyEditor for the bean.


MULTIPLE


addSaveAction

addSaveAction( javax.swing.AbstractAction abstractAction ) → void

add a save button, and perform the given action.

Parameters

abstractAction - the action to perform.

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


addStringEditor

addStringEditor( String propertyName, org.das2.util.StringSchemeEditor editor ) → void

add a special editor for string properties with the particular name.

Parameters

propertyName - the property name, like "label"
editor - the editor to use

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]

addStringEditor( String beanClassName, String propertyName, org.das2.util.StringSchemeEditor editor ) → void

createPeersEditor

createPeersEditor( Object leader, java.lang.Object[] peers ) → PropertyEditor

create a PropertyEditor when we are editing several beans at once.

Parameters

leader - the leader bean, which is used to get settings for all components.
peers - the peers, which must all be instances of the leader's class.

Returns:

a PropertyEditor for editing several beans at once.

[search for examples] [view on GitHub] [view on old javadoc] [view source]


doLayout

doLayout( ) → void

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getDialog

getDialog( java.awt.Component c ) → JDialog

allow clients to get at the dialog so it can be positioned.

Parameters

c - parent, if initializing.

Returns:

the dialog.

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getListenForExternalChanges

getListenForExternalChanges( ) → boolean

Returns:

boolean

[search for examples] [view on GitHub] [view on old javadoc] [view source]


isBean

isBean( Object lbean ) → boolean

return true if the object is a Java Bean that fires property change events. This checks to see if listeners can be registered.

Parameters

lbean - an object which may be a bean

Returns:

true if the object has an addPropertyChangeListener method.

[search for examples] [view on GitHub] [view on old javadoc] [view source]


refresh

refresh( ) → void

request a refresh, the same as if the "refresh" button was pressed.

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setListenForExternalChanges

setListenForExternalChanges( boolean v ) → void

Parameters

v - a boolean

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


showDialog

showDialog( java.awt.Component c ) → void

Parameters

c - a Component

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]

showDialog( java.awt.Component c, String title, java.awt.Image icon ) → void

showModalDialog

showModalDialog( java.awt.Component c ) → void

Parameters

c - a Component

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]