com.vlsolutions.swing.docking.event
Class DockingActionSplitComponentEvent
- Cloneable
public class DockingActionSplitComponentEvent
A DockingActionEvent describing a split action (from a base component (splitcontainer, tab...)).
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.
|
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()
|
DockingActionSplitComponentEvent
public DockingActionSplitComponentEvent(DockingDesktop desktop,
Dockable dockable,
int initialState,
int nextState,
Component base,
DockingConstants.Split splitPosition,
float dividorLocation)
Constructs a new event
DockingActionSplitComponentEvent
public DockingActionSplitComponentEvent(DockingDesktop desktop,
Dockable dockable,
int initialState,
int nextState,
Component base,
DockingConstants.Split splitPosition,
float dividorLocation,
float parentDividorLocation)
Constructs a new event.
This version of the constructor also contains resizing information for the parent of
thhe splitted component.
getBase
public Component getBase()
Returns the dockable which will be used as a base for the splitting
getDividorLocation
public float getDividorLocation()
getParentDividorLocation
public 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).
toString
public String toString()
© Copyright 2004-2006 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications