PaneInformationpublic class PaneInformation extends Object Holds information regarding a split plane or freeze plane for a sheet. |
Fields Summary |
---|
public static final byte | PANE_LOWER_RIGHTConstant for active pane being the lower right | public static final byte | PANE_UPPER_RIGHTConstant for active pane being the upper right | public static final byte | PANE_LOWER_LEFTConstant for active pane being the lower left | public static final byte | PANE_UPPER_LEFTConstant for active pane being the upper left | private short | x | private short | y | private short | topRow | private short | leftColumn | private byte | activePane | private boolean | frozen |
Constructors Summary |
---|
public PaneInformation(short x, short y, short top, short left, byte active, boolean frozen)
this.x = x;
this.y = y;
this.topRow = top;
this.leftColumn = left;
this.activePane = active;
this.frozen = frozen;
|
Methods Summary |
---|
public byte | getActivePane()Returns the active pane
return activePane;
| public short | getHorizontalSplitPosition()Returns the horizontal position of the split.
return y;
| public short | getHorizontalSplitTopRow()For a horizontal split returns the top row in the BOTTOM pane.
return topRow;
| public short | getVerticalSplitLeftColumn()For a vertical split returns the left column in the RIGHT pane.
return leftColumn;
| public short | getVerticalSplitPosition()Returns the vertical position of the split.
return x;
| public boolean | isFreezePane()Returns true if this is a Freeze pane, false if it is a split pane.
return frozen;
|
|