org.w3c.jigadm.editors
Class RealmsHelper

java.lang.Object
  extended by org.w3c.jigadm.editors.ResourceHelper
      extended by org.w3c.jigadm.editors.RealmsHelper
All Implemented Interfaces:
ResourceHelperInterface

public class RealmsHelper
extends ResourceHelper


Field Summary
 
Fields inherited from class org.w3c.jigadm.editors.ResourceHelper
rls
 
Constructor Summary
RealmsHelper()
           
 
Method Summary
protected  void addRealm()
           
 void clearChanged()
          set the current resource to be the original resource (ie: the hasChanged() method must return false now.
 void commitChanges()
          commit the changes (if any)
 java.awt.Component getComponent()
           
 java.lang.String getTitle()
           
protected  RemoteResourceWrapper getWrapper()
           
 boolean hasChanged()
          tells if the edited resource in the helper has changed
protected  void initAddPanel()
           
 void initialize(RemoteResourceWrapper rrw, java.util.Properties pr)
          initialize this helper
 void resetChanges()
          undo the not-yet-commited changes
 
Methods inherited from class org.w3c.jigadm.editors.ResourceHelper
addResourceListener, errorPopup, getValue, msgPopup, processEvent, removeResourceListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RealmsHelper

public RealmsHelper()
Method Detail

addRealm

protected void addRealm()

getWrapper

protected RemoteResourceWrapper getWrapper()

getComponent

public java.awt.Component getComponent()
Specified by:
getComponent in class ResourceHelper

commitChanges

public void commitChanges()
Description copied from interface: ResourceHelperInterface
commit the changes (if any)


hasChanged

public boolean hasChanged()
Description copied from interface: ResourceHelperInterface
tells if the edited resource in the helper has changed

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.


getTitle

public final java.lang.String getTitle()
Specified by:
getTitle in class ResourceHelper

initAddPanel

protected void initAddPanel()

initialize

public void initialize(RemoteResourceWrapper rrw,
                       java.util.Properties pr)
                throws RemoteAccessException
initialize this helper

Parameters:
rrw - The RemoteResourceWrapper
pr - The properties
Throws:
RemoteAccessException - if a remote access error occurs.