|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 ResourceEditorInterface
RemoteAccessException
- if a remote access error occurs.public void resetChanges() throws RemoteAccessException
RemoteAccessException
protected void switchHelper(java.awt.Button toggled) throws RemoteAccessException
RemoteAccessException
protected void reindex()
protected void delete()
public boolean hasChanged()
ResourceEditorInterface
hasChanged
in interface ResourceEditorInterface
public void clearChanged()
ResourceEditorInterface
clearChanged
in interface ResourceEditorInterface
public RemoteResource getValue()
ResourceEditorInterface
getValue
in interface ResourceEditorInterface
public void addResourceListener(ResourceListener rl)
ResourceEditorInterface
addResourceListener
in interface ResourceEditorInterface
rl
- a listenerpublic void removeResourceListener(ResourceListener rl)
ResourceEditorInterface
removeResourceListener
in interface ResourceEditorInterface
rl
- 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 ResourceEditorInterface
rrw
- 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 |