com.vlsolutions.swing.docking.event
public class DockingActionSplitComponentEvent extends DockingActionDockableEvent
Since: 2.1
Constructor Summary | |
---|---|
DockingActionSplitComponentEvent(DockingDesktop desktop, Dockable dockable, int initialState, int nextState, Component base, DockingConstants.Split splitPosition, float dividorLocation) Constructs a new event | |
DockingActionSplitComponentEvent(DockingDesktop desktop, Dockable dockable, int initialState, int nextState, Component base, DockingConstants.Split splitPosition, float dividorLocation, float parentDividorLocation) Constructs a new event.
|
Method Summary | |
---|---|
Component | getBase() Returns the dockable which will be used as a base for the splitting |
float | getDividorLocation() |
float | getParentDividorLocation() returns a dividor location value for the parent split container, or -1 if not needed
This value is used to express inserting a component with same orientation of the parent split container (like : transform A|B into [A|child]|B : we need to adjust A|child dividor, and also [] | B dividor). |
DockingConstants.Split | getSplitPosition() |
String | toString() |
This version of the constructor also contains resizing information for the parent of thhe splitted component.
This value is used to express inserting a component with same orientation of the parent split container (like : transform A|B into [A|child]|B : we need to adjust A|child dividor, and also [] | B dividor).