|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface DragPoint
A point in a configuration that supports drag and drop/cut and paste.
| Method Summary | |
|---|---|
DragTransaction |
beginChange(ChangeHow how)
Begin a change. |
String |
copy()
Provide a copy of the configuration at from this DragPoint as XML. |
void |
cut()
Remove this DragPoint from it's underlying configuration and remove any components in the configuration from the ComponentPool |
void |
paste(int index,
String config)
Parse an XML Text configuration and add the resultant component to this DragPoint with the given index. |
boolean |
supportsCut()
True if this DragPoint supports the cut operation. |
boolean |
supportsPaste()
True if this DragPoint supports the paste operation. |
| Methods inherited from interface org.oddjob.arooa.ArooaConfiguration |
|---|
parse |
| Method Detail |
|---|
DragTransaction beginChange(ChangeHow how)
how - Should an existing transaction be in progress or not.
boolean supportsCut()
boolean supportsPaste()
String copy()
void cut()
ComponentPool
This operation must be done within the context of a transaction.
void paste(int index,
String config)
throws ArooaParseException
This operation must be done within the context of a transaction.
index - The index. -1 will append.config - The configuration.
ArooaParseException - If the configuration could not be
parsed.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||