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.
|
String |
cut()
Copy this
DragPoints configuration and remove it. |
void |
delete()
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.
|
QTag[] |
possibleChildren()
List the possible children a Drag Point can have for Add Job
functionality.
|
boolean |
supportsCut()
True if this DragPoint supports the cut operation.
|
boolean |
supportsPaste()
True if this DragPoint supports the paste operation.
|
parseDragTransaction beginChange(ChangeHow how)
how - Should an existing transaction be in progress or not.boolean supportsCut()
boolean supportsPaste()
String cut()
DragPoints configuration and remove it.
This is used by the Web Front end. The Swing UI uses delete().
String copy()
void delete()
ComponentPool
This is used by the swing GUI ArooaTransferHandler
to perform the CUT operation.
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.QTag[] possibleChildren()
supportsPaste() must be true for this
to work.Copyright © 2023. All rights reserved.