public class HorizontalPaneSplitter extends AbstractPaneSplitter
HorizontalPaneSplitter
divides the available area into two
panes: top and bottom. This class represents HorizontalSplitter in the model.
Constructor and Description |
---|
HorizontalPaneSplitter() |
Modifier and Type | Method and Description |
---|---|
void |
accept(IPaneVisitor visitor)
Accept method of Visitor pattern.
|
float |
getFirstPaneHeight() |
float |
getSecondPaneHeight() |
void |
setFirstPaneHeight(float firstPaneHeight)
Sets absolute or relative height of the top pane.
|
void |
setSecondPaneHeight(float secondPaneHeight)
Sets absolute or relative height of the bottom pane.
|
getFirstPane, getSecondPane, setFirstPane, setSecondPane
getElementIdentifier, getPaneRect, isVisible, setElementIdentifier, setPaneRect, setVisible
public float getFirstPaneHeight()
public void setFirstPaneHeight(float firstPaneHeight)
firstPaneHeight
- the values in (0,1) are considered as in
percentage(relative to the available height) and
values in [1, ..] as in pixels.public float getSecondPaneHeight()
public void setSecondPaneHeight(float secondPaneHeight)
secondPaneHeight
- the values in (0,1) are considered as in
percentage(relative to the available height) and
values in [1, ..] as in pixels.public void accept(IPaneVisitor visitor)
AbstractPane
accept
in class AbstractPane