public class SplitPaneLayoutData extends java.lang.Object implements LayoutData
LayoutData object used to describe how a
Component is rendered within a SplitPane.| Modifier and Type | Field and Description |
|---|---|
static int |
OVERFLOW_AUTO |
static int |
OVERFLOW_HIDDEN |
static int |
OVERFLOW_SCROLL |
| Constructor and Description |
|---|
SplitPaneLayoutData() |
| Modifier and Type | Method and Description |
|---|---|
Alignment |
getAlignment()
Returns the alignment of the containing pane.
|
Color |
getBackground()
Returns the background color of the containing pane.
|
FillImage |
getBackgroundImage()
Returns the
BackgroundImage displayed in the
containing pane. |
Insets |
getInsets()
Returns the inset margins of the containing pane.
|
Extent |
getMaximumSize()
Returns the preferred maximum size of the containing pane.
|
Extent |
getMinimumSize()
Returns the preferred minimum size of the containing pane.
|
int |
getOverflow()
Returns the overflow state, describing how the pane will behave when
the content is larger than display area.
|
void |
setAlignment(Alignment newValue)
Sets the alignment of the containing pane.
|
void |
setBackground(Color newValue)
Sets the background color of the containing pane.
|
void |
setBackgroundImage(FillImage newValue)
Sets the
BackgroundImage displayed in the
containing pane. |
void |
setInsets(Insets newValue)
Sets the inset margins of the containing pane.
|
void |
setMaximumSize(Extent newValue)
Sets the preferred maximum size of the containing pane.
|
void |
setMinimumSize(Extent newValue)
Sets the preferred minimum size of the containing pane.
|
void |
setOverflow(int newValue)
Sets the overflow state, describing how the pane will behave when
the content is larger than display area.
|
public static final int OVERFLOW_AUTO
public static final int OVERFLOW_HIDDEN
public static final int OVERFLOW_SCROLL
public Alignment getAlignment()
public Color getBackground()
public FillImage getBackgroundImage()
BackgroundImage displayed in the
containing pane.public Insets getInsets()
SplitPaneLayoutData
instance is attached to a Pane component.public Extent getMaximumSize()
public Extent getMinimumSize()
public int getOverflow()
OVERFLOW_AUTO: provide scrollbars as necessaryOVERFLOW_HIDDEN: never display scrollbars, hide overflow contentOVERFLOW_SCROLL: always display scrollbarspublic void setAlignment(Alignment newValue)
newValue - the new alignmentpublic void setBackground(Color newValue)
newValue - the new background colorpublic void setBackgroundImage(FillImage newValue)
BackgroundImage displayed in the
containing pane.newValue - the new BackgroundImagepublic void setInsets(Insets newValue)
SplitPaneLayoutData
instance is attached to a Pane component.newValue - the new inset marginspublic void setMaximumSize(Extent newValue)
newValue - the new maximum sizepublic void setMinimumSize(Extent newValue)
newValue - the new minimum sizepublic void setOverflow(int newValue)
newValue - the overflow state, one of the following values:
OVERFLOW_AUTO: provide scrollbars as necessaryOVERFLOW_HIDDEN: never display scrollbars, hide overflow contentOVERFLOW_SCROLL: always display scrollbars