|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.oddjob.arooa.parsing.HandleConfigurationSession
public class HandleConfigurationSession
A ConfigurationSession
that works with an ArooaSession
and a ConfigurationHandle
that was the result of a parse
that acted on the session.
Constructor Summary | |
---|---|
HandleConfigurationSession(ArooaSession session,
ConfigurationHandle handle)
Create a new Instance. |
|
HandleConfigurationSession(ConfigurationHandle handle)
Create a new instance. |
Method Summary | |
---|---|
void |
addSessionStateListener(SessionStateListener listener)
Add a SessionStateListener listener. |
DragPoint |
dragPointFor(Object component)
Provide a DragPoint for the given component. |
ArooaDescriptor |
getArooaDescriptor()
Get the ArooaDescriptor for editing the configuration. |
boolean |
isModified()
Has the configuration been modified. |
void |
removeSessionStateListener(SessionStateListener listener)
Remove a SessionStateListener listener. |
void |
save()
Save the configuration. |
protected void |
setModified(boolean modified)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HandleConfigurationSession(ConfigurationHandle handle)
handle
- public HandleConfigurationSession(ArooaSession session, ConfigurationHandle handle)
session
- The underlying session to use.handle
- The configuration handle.Method Detail |
---|
public DragPoint dragPointFor(Object component)
ConfigurationSession
DragPoint
for the given component.
dragPointFor
in interface ConfigurationSession
component
- The component.
protected void setModified(boolean modified)
public boolean isModified()
ConfigurationSession
isModified
in interface ConfigurationSession
public void addSessionStateListener(SessionStateListener listener)
ConfigurationSession
SessionStateListener
listener.
addSessionStateListener
in interface ConfigurationSession
listener
- The listener.public void removeSessionStateListener(SessionStateListener listener)
ConfigurationSession
SessionStateListener
listener.
removeSessionStateListener
in interface ConfigurationSession
listener
- The listener.public void save() throws ArooaParseException
ConfigurationSession
save
in interface ConfigurationSession
ArooaParseException
public ArooaDescriptor getArooaDescriptor()
ConfigurationSession
ArooaDescriptor
for editing the configuration.
getArooaDescriptor
in interface ConfigurationSession
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |