|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.w3c.jigadm.editors.ResourceEditor
public class ResourceEditor
| Field Summary | |
|---|---|
protected java.awt.Button[] |
b
|
protected static java.lang.String |
DELETE_L
|
protected java.awt.Label |
message
|
protected static java.lang.String |
REINDEX_L
|
protected java.util.Vector |
rls
|
static java.lang.String |
UNREMOVABLE_P
|
| Constructor Summary | |
|---|---|
ResourceEditor(java.awt.Panel p)
|
|
| Method Summary | |
|---|---|
void |
addResourceListener(ResourceListener rl)
Add a Listener to this helper. |
void |
clearChanged()
set the current value to be the original value, ie: changed must return false after a reset. |
void |
commitChanges()
commit the changes (if any) |
protected void |
delete()
|
RemoteResource |
getValue()
Get the current value of the edited value |
boolean |
hasChanged()
Tells if the edited value has changed |
void |
initialize(RemoteResourceWrapper rrw,
java.util.Properties p)
initialize this editor |
protected void |
processEvent(java.util.EventObject eo)
|
protected void |
reindex()
|
void |
removeResourceListener(ResourceListener rl)
Remove the listener from this helper. |
void |
resetChanges()
|
void |
setMessage(java.lang.String msg)
|
protected void |
switchHelper(java.awt.Button toggled)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String UNREMOVABLE_P
protected java.util.Vector rls
protected java.awt.Button[] b
protected java.awt.Label message
protected static final java.lang.String DELETE_L
protected static final java.lang.String REINDEX_L
| Constructor Detail |
|---|
public ResourceEditor(java.awt.Panel p)
| Method Detail |
|---|
public void setMessage(java.lang.String msg)
public void commitChanges()
throws RemoteAccessException
ResourceEditorInterface
commitChanges in interface ResourceEditorInterfaceRemoteAccessException - if a remote access error occurs.
public void resetChanges()
throws RemoteAccessException
RemoteAccessException
protected void switchHelper(java.awt.Button toggled)
throws RemoteAccessException
RemoteAccessExceptionprotected void reindex()
protected void delete()
public boolean hasChanged()
ResourceEditorInterface
hasChanged in interface ResourceEditorInterfacepublic void clearChanged()
ResourceEditorInterface
clearChanged in interface ResourceEditorInterfacepublic RemoteResource getValue()
ResourceEditorInterface
getValue in interface ResourceEditorInterfacepublic void addResourceListener(ResourceListener rl)
ResourceEditorInterface
addResourceListener in interface ResourceEditorInterfacerl - a listenerpublic void removeResourceListener(ResourceListener rl)
ResourceEditorInterface
removeResourceListener in interface ResourceEditorInterfacerl - the listener to be removed.protected void processEvent(java.util.EventObject eo)
public void initialize(RemoteResourceWrapper rrw,
java.util.Properties p)
throws RemoteAccessException
initialize in interface ResourceEditorInterfacerrw - The RemoteResourceWrapperpr - The properties
RemoteAccessException - if a remote access error occurs.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||