Classes | Public Member Functions

cern.gp.explorer.properties.ReversiblePropertyField Class Reference

Inheritance diagram for cern.gp.explorer.properties.ReversiblePropertyField:
cern.gp.explorer.properties.PropertyField

List of all members.

Classes

class  ReversibleModel

Public Member Functions

 ReversiblePropertyField (ReversibleModel model, Object bean, String propName, int preferences)
 ReversiblePropertyField (GPNode node, String propName, int preferences)
void commit () throws InvocationTargetException
void revert ()

Detailed Description

A PropertyField with a model that does not immediately propagate the changed property value to the bean but allows the user to commit or revert the changes.

See also:
ReversibleModel, PropertyDialog

Constructor & Destructor Documentation

cern.gp.explorer.properties.ReversiblePropertyField.ReversiblePropertyField ( ReversibleModel  model,
Object  bean,
String  propName,
int  preferences 
)

Constructor that creates a PropertyField from a node and a property Name, with preferences

Parameters:
model 
preferences one or more of PREF_CUSTOM_EDITOR, PREF_INPUT_STATE, or PREF_READ_ONLY
cern.gp.explorer.properties.ReversiblePropertyField.ReversiblePropertyField ( GPNode  node,
String  propName,
int  preferences 
)

Member Function Documentation

void cern.gp.explorer.properties.ReversiblePropertyField.commit (  )  throws InvocationTargetException
void cern.gp.explorer.properties.ReversiblePropertyField.revert (  ) 

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties