S - the kind of station using this ToolbarGroupDropInfopublic abstract class ToolbarGroupDropInfo extends Object implements StationDropOperation
Dockable should be inserted into which
DockStation| Constructor and Description |
|---|
ToolbarGroupDropInfo(Dockable dockable,
ToolbarGroupDockStation station,
int column,
int line,
boolean effect)
Creates a new drop info.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getColumn()
Gets the column into which
the item is inserted. |
CombinerTarget |
getCombination() |
DisplayerCombinerTarget |
getDisplayerCombination() |
Dockable |
getItem() |
int |
getLine()
Gets the line into which
the item is inserted. |
ToolbarGroupDockStation |
getTarget() |
boolean |
hasEffect()
Tells whether executing this operation will results in any changes of the layout.
|
boolean |
isMove() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdestroy, draw, executepublic ToolbarGroupDropInfo(Dockable dockable, ToolbarGroupDockStation station, int column, int line, boolean effect)
dockable - the item that is droppedstation - the station onto which dockable is droppedcolumn - the column into which dockable is dropped, this may be an existing
column or a new columnline - the row in which dockable will appear, a value of -1 indicates that
the item will appear in a new columneffect - whether the operation has any effectpublic Dockable getItem()
getItem in interface StationDropOperationpublic ToolbarGroupDockStation getTarget()
getTarget in interface StationDropOperationpublic boolean hasEffect()
public int getColumn()
the item is inserted.public int getLine()
the item is inserted. A value of -1 indicates
that a new column is to be created.public CombinerTarget getCombination()
getCombination in interface StationDropOperationpublic DisplayerCombinerTarget getDisplayerCombination()
getDisplayerCombination in interface StationDropOperationpublic boolean isMove()
isMove in interface StationDropOperationCopyright © 2018. All rights reserved.