public interface DragPoint extends ArooaConfiguration
Modifier and Type | Method and Description |
---|---|
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.
|
parse
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.