| GNU Classpath (0.95) | |
| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectjava.awt.Componentjava.awt.Containerjavax.swing.JComponentjavax.swing.JSplitPaneNested Class Summary | |
protected class |
|
Nested classes/interfaces inherited from class javax.swing.JComponent | |
JComponent.AccessibleJComponent | |
Nested classes/interfaces inherited from class java.awt.Container | |
Container.AccessibleAWTContainer | |
Nested classes/interfaces inherited from class java.awt.Component | |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy | |
Field Summary | |
static String |
|
static String |
|
static String |
|
static String |
|
static String |
|
static int |
|
static String |
|
static String |
|
static String |
|
static String |
|
static String |
|
static String |
|
static String |
|
static int |
|
protected boolean |
|
protected int |
|
protected int |
|
protected Component |
|
protected boolean |
|
protected int |
|
protected Component |
|
Fields inherited from class javax.swing.JComponent | |
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW, accessibleContext, listenerList, ui | |
Fields inherited from class java.awt.Component | |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT | |
Fields inherited from interface java.awt.image.ImageObserver | |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH | |
Constructor Summary | |
| |
| |
| |
| |
| |
Method Summary | |
protected void | |
AccessibleContext |
|
Component |
|
int |
|
int |
|
int |
|
Component |
|
int |
|
int |
|
int |
|
double |
|
Component |
|
Component |
|
SplitPaneUI |
|
String |
|
boolean |
|
boolean |
|
boolean |
|
protected void |
|
protected String |
|
void |
|
void | |
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
Methods inherited from class java.lang.Object | |
clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait | |
public static final String BOTTOM
The constraints string used to add components to the bottom.
- Field Value:
- "bottom"
public static final String CONTINUOUS_LAYOUT_PROPERTY
The property fired when the continuousLayout property changes.
- Field Value:
- "continuousLayout"
public static final String DIVIDER
The property fired when the divider property changes.
- Field Value:
- "divider"
public static final String DIVIDER_LOCATION_PROPERTY
The property fired when the divider location property changes.
- Field Value:
- "dividerLocation"
public static final String DIVIDER_SIZE_PROPERTY
The property fired when the divider size property changes.
- Field Value:
- "dividerSize"
public static final int HORIZONTAL_SPLIT
The value of the orientation when the components are split horizontally.
- Field Value:
- 1
public static final String LAST_DIVIDER_LOCATION_PROPERTY
The property fired when the last divider location property changes.
- Field Value:
- "lastDividerLocation"
public static final String LEFT
The constraints string used to add components to the left.
- Field Value:
- "left"
public static final String ONE_TOUCH_EXPANDABLE_PROPERTY
The property fired when the one touch expandable property changes.
- Field Value:
- "oneTouchExpandable"
public static final String ORIENTATION_PROPERTY
The property fired when the orientation property changes.
- Field Value:
- "orientation"
public static final String RESIZE_WEIGHT_PROPERTY
The property fired when the resize weight property changes.
- Field Value:
- "resizeWeight"
public static final String RIGHT
The constraints string used to add components to the right.
- Field Value:
- "right"
public static final String TOP
The constraints string used to add components to the top.
- Field Value:
- "top"
public static final int VERTICAL_SPLIT
The value of the orientation when the components are split vertically.
- Field Value:
- 0
protected int lastDividerLocation
The last location of the divider given by the UI.
protected boolean oneTouchExpandable
Whether the JSplitPane uses one touch expandable buttons.
public JSplitPane()
Creates a new JSplitPane object using HORIZONTAL_SPLIT and a nonContinuousLayout mode.
public JSplitPane(int newOrientation)
Creates a new JSplitPane object using a nonContinuousLayout mode and the given orientation.
- Parameters:
newOrientation- The orientation to use.
public JSplitPane(int newOrientation, boolean newContinuousLayout)
Creates a new JSplitPane object with the given layout mode and orientation.
- Parameters:
newOrientation- The orientation to use.newContinuousLayout- The layout mode to use.
public JSplitPane(int newOrientation, boolean newContinuousLayout, Component newLeftComponent, Component newRightComponent)
Creates a new JSplitPane object with the given orientation, layout mode, and left and right components.
- Parameters:
newOrientation- The orientation to use.newContinuousLayout- The layout mode to use.newLeftComponent- The left component.newRightComponent- The right component.
- Throws:
IllegalArgumentException- DOCUMENT ME!
public JSplitPane(int newOrientation, Component newLeftComponent, Component newRightComponent)
Creates a new JSplitPane object using nonContinuousLayout mode, the given orientation and left and right components.
- Parameters:
newOrientation- The orientation to use.newLeftComponent- The left component.newRightComponent- The right component.
protected void addImpl(Component comp, Object constraints, int index)
This method adds a component to the JSplitPane. The constraints object is a string that identifies where this component should go. If the constraints is not a known one, it will throw an IllegalArgumentException. The valid constraints are LEFT, TOP, RIGHT, BOTTOM and DIVIDER.
- Parameters:
comp- The component to add.constraints- The constraints string to use.index- Where to place to component in the list of components.
- Throws:
IllegalArgumentException- When the constraints is not a known identifier.
public AccessibleContext getAccessibleContext()
Returns the object that provides accessibility features for thisJSplitPanecomponent.
- Specified by:
- getAccessibleContext in interface Accessible
- Overrides:
- getAccessibleContext in interface JComponent
- Returns:
- The accessible context (an instance of
JSplitPane.AccessibleJSplitPane).
public Component getBottomComponent()
This method returns the bottom component.
- Returns:
- The bottom component.
public int getDividerLocation()
This method returns the location of the divider. This method is passed to the UI.
- Returns:
- The location of the divider.
public int getDividerSize()
This method returns the size of the divider.
- Returns:
- The size of the divider.
public int getLastDividerLocation()
This method returns the last divider location.
- Returns:
- The last divider location.
public Component getLeftComponent()
This method returns the left component.
- Returns:
- The left component.
public int getMaximumDividerLocation()
This method returns the maximum divider location. This method is passed to the UI.
- Returns:
- DOCUMENT ME!
public int getMinimumDividerLocation()
This method returns the minimum divider location. This method is passed to the UI.
- Returns:
- The minimum divider location.
public int getOrientation()
This method returns the orientation that the JSplitPane is using.
- Returns:
- The current orientation.