org.objectweb.fractal.gui.model
Interface Configuration

All Known Implementing Classes:
BasicConfiguration, DerivedConfiguration

public interface Configuration

A model for a component configuration.


Method Summary
 long getChangeCount()
          Returns the status of this configuration.
 Component getRootComponent()
          Returns the root component of this configuration.
 java.lang.String getStorage()
          Returns the storage directory of this configuration.
 void setChangeCount(long changeCount)
          Sets the status of this configuration.
 void setRootComponent(Component root)
          Sets the root component of this configuration.
 void setStorage(java.lang.String execd)
          Sets the storage directory of this configuration.
 

Method Detail

getChangeCount

public long getChangeCount()
Returns the status of this configuration.

See Also:
setChangeCount(long)

setChangeCount

public void setChangeCount(long changeCount)
Sets the status of this configuration.

See Also:
getChangeCount()

getRootComponent

public Component getRootComponent()
Returns the root component of this configuration.

Returns:
the root component of this configuration.
See Also:
setRootComponent(org.objectweb.fractal.gui.model.Component)

setRootComponent

public void setRootComponent(Component root)
Sets the root component of this configuration. This method notifies the configuration listeners, via the rootComponentChanged method.

Parameters:
root - the new root component of this configuration.
See Also:
getRootComponent()

getStorage

public java.lang.String getStorage()
Returns the storage directory of this configuration.

Returns:
the storage directory of this configuration.
See Also:
setStorage(java.lang.String)

setStorage

public void setStorage(java.lang.String execd)
Sets the storage directory of this configuration.

Parameters:
execd - the new storage directory of this configuration.
See Also:
getStorage()