|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.w3c.jigadm.editors.ResourceHelper org.w3c.jigadmin.editors.ResourceHelper org.w3c.jigadmin.editors.AttributesHelper
public class AttributesHelper
The Attributes helper
Field Summary | |
---|---|
protected static java.lang.String |
COMMIT_L
|
protected static java.lang.String |
RESET_L
|
Fields inherited from class org.w3c.jigadm.editors.ResourceHelper |
---|
rls |
Constructor Summary | |
---|---|
AttributesHelper()
Constructor. |
Method Summary | |
---|---|
void |
clearChanged()
set the current resource to be the original resource (ie: the hasChanged() method must return false now. |
void |
commitChanges()
Commit changes (if any) |
java.awt.Component |
getComponent()
Get the AttributeHelper component |
java.lang.String |
getTitle()
Get the AttributeHelper title |
boolean |
hasChanged()
tells if the edited resource in the helper has changed |
void |
initialize(RemoteResourceWrapper r,
java.util.Properties pr)
initialize the helper |
void |
resetChanges()
undo the not-yet-commited changes |
void |
setMessage(java.lang.String msg)
Set the message of the information Label. |
Methods inherited from class org.w3c.jigadmin.editors.ResourceHelper |
---|
errorPopup, msgPopup |
Methods inherited from class org.w3c.jigadm.editors.ResourceHelper |
---|
addResourceListener, getValue, processEvent, removeResourceListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String COMMIT_L
protected static final java.lang.String RESET_L
Constructor Detail |
---|
public AttributesHelper()
Method Detail |
---|
public void setMessage(java.lang.String msg)
msg
- the message to displaypublic void commitChanges() throws RemoteAccessException
RemoteAccessException
- if a remote access error occurs.public boolean hasChanged()
public void resetChanges()
public void clearChanged()
public java.awt.Component getComponent()
getComponent
in class ResourceHelper
public final java.lang.String getTitle()
getTitle
in class ResourceHelper
public void initialize(RemoteResourceWrapper r, java.util.Properties pr) throws RemoteAccessException
r
- the ResourceWrapper containing the Resource edited with
this helperp
- some Properties, used to fine-tune the helper
RemoteAccessException
- if a remote access error occurs.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |