org.w3c.jigadm.editors
Class ControlHelper
java.lang.Object
|
+--org.w3c.jigadm.editors.ResourceHelper
|
+--org.w3c.jigadm.editors.ControlHelper
- public class ControlHelper
- extends ResourceHelper
Field Summary |
protected static java.lang.String |
CHECKPOINT_L
|
protected java.awt.Label |
controlLabel
|
protected static java.lang.String |
RESTART_L
|
protected static java.lang.String |
SAVE_L
|
protected static java.lang.String |
STOP_L
|
protected java.awt.Panel |
widget
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
CHECKPOINT_L
protected static final java.lang.String CHECKPOINT_L
SAVE_L
protected static final java.lang.String SAVE_L
STOP_L
protected static final java.lang.String STOP_L
RESTART_L
protected static final java.lang.String RESTART_L
widget
protected java.awt.Panel widget
controlLabel
protected java.awt.Label controlLabel
ControlHelper
public ControlHelper()
commitChanges
public void commitChanges()
- Description copied from interface: ResourceHelperInterface
- commit the changes (if any)
- Tags copied from interface: ResourceHelperInterface
- Throws:
- RemoteAccessException - if a remote access error occurs.
hasChanged
public boolean hasChanged()
- Description copied from interface: ResourceHelperInterface
- tells if the edited resource in the helper has changed
- Tags copied from interface: ResourceHelperInterface
- Returns:
- true if the values changed.
to get more informations about what has changed, you can use the
three methods below.
resetChanges
public void resetChanges()
- Description copied from interface: ResourceHelperInterface
- undo the not-yet-commited changes
clearChanged
public void clearChanged()
- Description copied from interface: ResourceHelperInterface
- set the current resource to be the original resource (ie: the
hasChanged() method must return false now.
to do a "fine tuned" reset, use one of the three following method.
getComponent
public java.awt.Component getComponent()
- Overrides:
- getComponent in class ResourceHelper
getTitle
public final java.lang.String getTitle()
- Overrides:
- getTitle in class ResourceHelper
setMessage
public void setMessage(java.lang.String msg)
executeAction
protected void executeAction(java.lang.String action)
getIcon
protected java.awt.Image getIcon(PropertyManager pm,
java.lang.String name)
initControlPanel
public void initControlPanel()
initialize
public void initialize(RemoteResourceWrapper rrw,
java.util.Properties pr)
throws RemoteAccessException
- initialize the editor
- Throws:
- RemoteAccessException - if a remote access error occurs.