public class PaneInformation
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static byte |
PANE_LOWER_LEFT
Constant for active pane being the lower left
(活动窗格的常量位于左下方)
|
static byte |
PANE_LOWER_RIGHT
Constant for active pane being the lower right
(活动窗格的常量位于右下角)
|
static byte |
PANE_UPPER_LEFT
Constant for active pane being the upper left
(活动窗格的常量为左上角)
|
static byte |
PANE_UPPER_RIGHT
Constant for active pane being the upper right
(活动窗格的常量为右上角)
|
| Constructor and Description |
|---|
PaneInformation(short x, short y, short top, short left, byte active, boolean frozen) |
| Modifier and Type | Method and Description |
|---|---|
byte |
getActivePane()
Returns the active pane
(返回活动窗格)
|
short |
getHorizontalSplitPosition()
Returns the horizontal position of the split.
(返回拆分的水平位置。)
|
short |
getHorizontalSplitTopRow()
For a horizontal split returns the top row in the BOTTOM pane.
(对于水平拆分,返回底部窗格中的第一行。)
|
short |
getVerticalSplitLeftColumn()
For a vertical split returns the left column in the RIGHT pane.
(对于垂直拆分,返回右窗格中的左列。)
|
short |
getVerticalSplitPosition()
Returns the vertical position of the split.
(返回拆分的垂直位置。)
|
boolean |
isFreezePane()
Returns true if this is a Freeze pane, false if it is a split pane.
(如果这是冻结窗格,则返回 true,如果是拆分窗格,则返回 false。)
|
public static final byte PANE_LOWER_RIGHT
public static final byte PANE_UPPER_RIGHT
public static final byte PANE_LOWER_LEFT
public static final byte PANE_UPPER_LEFT
public PaneInformation(short x,
short y,
short top,
short left,
byte active,
boolean frozen) public short getVerticalSplitPosition()
public short getHorizontalSplitPosition()
public short getHorizontalSplitTopRow()
public short getVerticalSplitLeftColumn()
public byte getActivePane()
PANE_LOWER_RIGHT,
PANE_UPPER_RIGHT,
PANE_LOWER_LEFT,
PANE_UPPER_LEFT
public boolean isFreezePane()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.