| |
|
| java.lang.Object nextapp.echo2.app.Component nextapp.echo2.app.SplitPane
All known Subclasses: nextapp.echo2.testapp.interactive.testscreen.GridTest, nextapp.echo2.testapp.interactive.testscreen.WindowTest, nextapp.echo2.testapp.interactive.testscreen.CompositeTest, nextapp.echo2.testapp.interactive.testscreen.ContentPaneTest, nextapp.echo2.testapp.interactive.testscreen.PanelTest, nextapp.echo2.testapp.interactive.testscreen.TextComponentTest, nextapp.echo2.testapp.interactive.testscreen.TablePerformanceTest, nextapp.echo2.testapp.interactive.testscreen.HierarchyTest, nextapp.echo2.testapp.interactive.testscreen.ListBoxTest, nextapp.echo2.testapp.interactive.testscreen.SplitPaneTest, nextapp.echo2.testapp.interactive.testscreen.ColumnTest, nextapp.echo2.testapp.interactive.testscreen.LabelTest, nextapp.echo2.testapp.interactive.testscreen.RowTest, nextapp.echo2.testapp.interactive.testscreen.TextSyncTest, nextapp.echo2.testapp.interactive.testscreen.TableTest, nextapp.echo2.testapp.interactive.testscreen.SplitPaneNestedTest, nextapp.echo2.testapp.interactive.testscreen.LocalizationTest, nextapp.echo2.testapp.interactive.testscreen.VisibilityTest, nextapp.echo2.testapp.interactive.testscreen.WindowPaneTest, nextapp.echo2.testapp.interactive.testscreen.WindowPaneExamplesTest, nextapp.echo2.testapp.interactive.testscreen.ButtonTest,
SplitPane | public class SplitPane extends Component implements Pane,PaneContainer(Code) | | A container which displays two components horizontally or vertically
adjacent to one another.
Child LayoutData: Children of this component may provide
layout information using the
nextapp.echo2.app.layout.SplitPaneLayoutData layout data object.
See Also: nextapp.echo2.app.layout.SplitPaneLayoutData |
Constructor Summary | |
public | SplitPane() Creates a new SplitPane with default (horizontal)
orientation. | public | SplitPane(int orientation) Creates a new SplitPane with the specified orientation. | public | SplitPane(int orientation, Extent separatorPosition) Creates a new SplitPane with the specified orientation and
separator position. |
ORIENTATION_HORIZONTAL | final public static int ORIENTATION_HORIZONTAL(Code) | | Shorthand for ORIENTATION_HORIZONTAL_LEADING_TRAILING .
|
ORIENTATION_HORIZONTAL_LEADING_TRAILING | final public static int ORIENTATION_HORIZONTAL_LEADING_TRAILING(Code) | | An orientation constant indicating that the
SplitPane should be laid out horizontally with the
first (fixed-sze) pane in the leading position.
The leading position is on the left side for left-to-right languages
and on the right side for right-to-left languages.
|
ORIENTATION_HORIZONTAL_LEFT_RIGHT | final public static int ORIENTATION_HORIZONTAL_LEFT_RIGHT(Code) | | An orientation constant indicating that the
SplitPane should be laid out horizontally with the
first (fixed-sze) pane in the left position.
|
ORIENTATION_HORIZONTAL_RIGHT_LEFT | final public static int ORIENTATION_HORIZONTAL_RIGHT_LEFT(Code) | | An orientation constant indicating that the
SplitPane should be laid out horizontally with the
first (fixed-sze) pane in the right position.
|
ORIENTATION_HORIZONTAL_TRAILING_LEADING | final public static int ORIENTATION_HORIZONTAL_TRAILING_LEADING(Code) | | An orientation constant indicating that the
SplitPane should be laid out horizontally with the
first (fixed-sze) pane in the trailing position.
The trailing position is on the right side for left-to-right languages
and on the left side for right-to-left languages.
|
ORIENTATION_VERTICAL | final public static int ORIENTATION_VERTICAL(Code) | | Shorthand for ORIENTATION_VERTICAL_TOP_BOTTOM .
|
ORIENTATION_VERTICAL_BOTTOM_TOP | final public static int ORIENTATION_VERTICAL_BOTTOM_TOP(Code) | | An orientation constant indicating that the
SplitPane should be laid out vertically with the
first (fixed-sze) pane in the bottom position.
|
ORIENTATION_VERTICAL_TOP_BOTTOM | final public static int ORIENTATION_VERTICAL_TOP_BOTTOM(Code) | | An orientation constant indicating that the
SplitPane should be laid out vertically with the
first (fixed-sze) pane in the top position.
|
PROPERTY_ORIENTATION | final public static String PROPERTY_ORIENTATION(Code) | | |
PROPERTY_RESIZABLE | final public static String PROPERTY_RESIZABLE(Code) | | |
PROPERTY_SEPARATOR_COLOR | final public static String PROPERTY_SEPARATOR_COLOR(Code) | | |
PROPERTY_SEPARATOR_HEIGHT | final public static String PROPERTY_SEPARATOR_HEIGHT(Code) | | |
PROPERTY_SEPARATOR_HORIZONTAL_IMAGE | final public static String PROPERTY_SEPARATOR_HORIZONTAL_IMAGE(Code) | | |
PROPERTY_SEPARATOR_POSITION | final public static String PROPERTY_SEPARATOR_POSITION(Code) | | |
PROPERTY_SEPARATOR_VERTICAL_IMAGE | final public static String PROPERTY_SEPARATOR_VERTICAL_IMAGE(Code) | | |
PROPERTY_SEPARATOR_WIDTH | final public static String PROPERTY_SEPARATOR_WIDTH(Code) | | |
SplitPane | public SplitPane()(Code) | | Creates a new SplitPane with default (horizontal)
orientation.
|
SplitPane | public SplitPane(int orientation)(Code) | | Creates a new SplitPane with the specified orientation.
Parameters: orientation - a constant representing the orientation, one of the following values:ORIENTATION_HORIZONTAL ORIENTATION_VERTICAL ORIENTATION_HORIZONTAL_LEADING_TRAILING ORIENTATION_HORIZONTAL_TRAILING_LEADING ORIENTATION_HORIZONTAL_LEFT_RIGHT ORIENTATION_HORIZONTAL_RIGHT_LEFT ORIENTATION_VERTICAL_TOP_BOTTOM ORIENTATION_VERTICAL_BOTTOM_TOP
|
SplitPane | public SplitPane(int orientation, Extent separatorPosition)(Code) | | Creates a new SplitPane with the specified orientation and
separator position.
Parameters: orientation - a constant representing the orientation, one of the following values:ORIENTATION_HORIZONTAL ORIENTATION_VERTICAL ORIENTATION_HORIZONTAL_LEADING_TRAILING ORIENTATION_HORIZONTAL_TRAILING_LEADING ORIENTATION_HORIZONTAL_LEFT_RIGHT ORIENTATION_HORIZONTAL_RIGHT_LEFT ORIENTATION_VERTICAL_TOP_BOTTOM ORIENTATION_VERTICAL_BOTTOM_TOP
Parameters: separatorPosition - the initial position of the separator (in pixel units) |
getOrientation | public int getOrientation()(Code) | | Returns the orientation of the SplitPane .
a constant representing the orientation, one of the following values:ORIENTATION_HORIZONTAL ORIENTATION_VERTICAL ORIENTATION_HORIZONTAL_LEADING_TRAILING ORIENTATION_HORIZONTAL_TRAILING_LEADING ORIENTATION_HORIZONTAL_LEFT_RIGHT ORIENTATION_HORIZONTAL_RIGHT_LEFT ORIENTATION_VERTICAL_TOP_BOTTOM ORIENTATION_VERTICAL_BOTTOM_TOP
|
getSeparatorColor | public Color getSeparatorColor()(Code) | | Returns the color of the pane separator.
the color |
getSeparatorHeight | public Extent getSeparatorHeight()(Code) | | Returns the height of the pane separator. This value is relevant only
when the SplitPane has a vertical orientation.
This property only supports Extent s with
pixel units.
the separator width |
getSeparatorHorizontalImage | public FillImage getSeparatorHorizontalImage()(Code) | | Returns the fill image of the pane separator that is displayed when the
SplitPane has a horizontal orientation.
the image |
getSeparatorPosition | public Extent getSeparatorPosition()(Code) | | Returns the position of the pane separator.
This property only supports Extent s with
pixel units.
the separator position |
getSeparatorVerticalImage | public FillImage getSeparatorVerticalImage()(Code) | | Returns the fill image of the pane separator that is displayed when the
SplitPane has a vertical orientation.
the image |
getSeparatorWidth | public Extent getSeparatorWidth()(Code) | | Returns the width of the pane separator. This value is relevant only
when the SplitPane has a horizontal orientation.
This property only supports Extent s with
pixel units.
the separator width |
isResizable | public boolean isResizable()(Code) | | Determines if the SplitPane is resizable.
true if the SplitPane is resizable |
setOrientation | public void setOrientation(int newValue)(Code) | | Sets the orientation of the SplitPane .
Parameters: newValue - a constant representing the orientation, one of the following values:ORIENTATION_HORIZONTAL ORIENTATION_VERTICAL ORIENTATION_HORIZONTAL_LEADING_TRAILING ORIENTATION_HORIZONTAL_TRAILING_LEADING ORIENTATION_HORIZONTAL_LEFT_RIGHT ORIENTATION_HORIZONTAL_RIGHT_LEFT ORIENTATION_VERTICAL_TOP_BOTTOM ORIENTATION_VERTICAL_BOTTOM_TOP
|
setResizable | public void setResizable(boolean newValue)(Code) | | Sets whether the SplitPane is resizable.
Parameters: newValue - true if the SplitPane should allow theresizing of panes by dragging the separator, false if it shouldnot |
setSeparatorColor | public void setSeparatorColor(Color newValue)(Code) | | Sets the color of the pane separator.
Parameters: newValue - the new color |
setSeparatorHeight | public void setSeparatorHeight(Extent newValue)(Code) | | Sets the height of the pane separator. This value is only relevant
when the SplitPane has a vertical orientation.
This property only supports Extent s with
pixel units.
Parameters: newValue - the new height |
setSeparatorHorizontalImage | public void setSeparatorHorizontalImage(FillImage newValue)(Code) | | Sets the fill image of the pane separator that is displayed when the
SplitPane has a horizontal orientation.
Parameters: newValue - the new image |
setSeparatorPosition | public void setSeparatorPosition(Extent newValue)(Code) | | Sets the position of the pane separator.
This property only supports Extent s with
pixel units.
Parameters: newValue - the new position |
setSeparatorVerticalImage | public void setSeparatorVerticalImage(FillImage newValue)(Code) | | Sets the fill image of the pane separator that is displayed when the
SplitPane has a vertical orientation.
Parameters: newValue - the new image |
setSeparatorWidth | public void setSeparatorWidth(Extent newValue)(Code) | | Sets the width of the pane separator. This value is only relevant
when the SplitPane has a horizontal orientation.
This property only supports Extent s with
pixel units.
Parameters: newValue - the new width |
Methods inherited from nextapp.echo2.app.Component | public void add(Component c)(Code)(Java Doc) public void add(Component c, int n) throws IllegalChildException(Code)(Java Doc) public void addPropertyChangeListener(PropertyChangeListener l)(Code)(Java Doc) void assignRenderId(String renderId)(Code)(Java Doc) public void dispose()(Code)(Java Doc) void doDispose()(Code)(Java Doc) void doInit()(Code)(Java Doc) protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)(Code)(Java Doc) public ApplicationInstance getApplicationInstance()(Code)(Java Doc) public Color getBackground()(Code)(Java Doc) final public Component getComponent(int n)(Code)(Java Doc) final public Component getComponent(String id)(Code)(Java Doc) final public int getComponentCount()(Code)(Java Doc) final public Component[] getComponents()(Code)(Java Doc) protected EventListenerList getEventListenerList()(Code)(Java Doc) final public int getFocusTraversalIndex()(Code)(Java Doc) public Font getFont()(Code)(Java Doc) public Color getForeground()(Code)(Java Doc) public String getId()(Code)(Java Doc) final public Object getIndexedProperty(String propertyName, int propertyIndex)(Code)(Java Doc) public LayoutData getLayoutData()(Code)(Java Doc) public LayoutDirection getLayoutDirection()(Code)(Java Doc) public Locale getLocale()(Code)(Java Doc) final public Component getParent()(Code)(Java Doc) final public Object getProperty(String propertyName)(Code)(Java Doc) public String getRenderId()(Code)(Java Doc) final public Object getRenderIndexedProperty(String propertyName, int propertyIndex)(Code)(Java Doc) final public Object getRenderIndexedProperty(String propertyName, int propertyIndex, Object defaultValue)(Code)(Java Doc) final public LayoutDirection getRenderLayoutDirection()(Code)(Java Doc) final public Locale getRenderLocale()(Code)(Java Doc) final public Object getRenderProperty(String propertyName)(Code)(Java Doc) final public Object getRenderProperty(String propertyName, Object defaultValue)(Code)(Java Doc) final public Style getStyle()(Code)(Java Doc) final public String getStyleName()(Code)(Java Doc) final public Component getVisibleComponent(int n)(Code)(Java Doc) final public int getVisibleComponentCount()(Code)(Java Doc) final public Component[] getVisibleComponents()(Code)(Java Doc) protected boolean hasEventListenerList()(Code)(Java Doc) final public int indexOf(Component c)(Code)(Java Doc) public void init()(Code)(Java Doc) final public boolean isAncestorOf(Component c)(Code)(Java Doc) final public boolean isEnabled()(Code)(Java Doc) public boolean isFocusTraversalParticipant()(Code)(Java Doc) final public boolean isRegistered()(Code)(Java Doc) final public boolean isRenderEnabled()(Code)(Java Doc) final public boolean isRenderVisible()(Code)(Java Doc) public boolean isValidChild(Component child)(Code)(Java Doc) public boolean isValidParent(Component parent)(Code)(Java Doc) final public boolean isVisible()(Code)(Java Doc) public void processInput(String inputName, Object inputValue)(Code)(Java Doc) void register(ApplicationInstance newValue)(Code)(Java Doc) public void remove(Component c)(Code)(Java Doc) public void remove(int n)(Code)(Java Doc) public void removeAll()(Code)(Java Doc) public void removePropertyChangeListener(PropertyChangeListener l)(Code)(Java Doc) public void setBackground(Color newValue)(Code)(Java Doc) public void setEnabled(boolean newValue)(Code)(Java Doc) public void setFocusTraversalIndex(int newValue)(Code)(Java Doc) public void setFocusTraversalParticipant(boolean newValue)(Code)(Java Doc) public void setFont(Font newValue)(Code)(Java Doc) public void setForeground(Color newValue)(Code)(Java Doc) public void setId(String id)(Code)(Java Doc) public void setIndexedProperty(String propertyName, int propertyIndex, Object newValue)(Code)(Java Doc) public void setLayoutData(LayoutData newValue)(Code)(Java Doc) public void setLayoutDirection(LayoutDirection newValue)(Code)(Java Doc) public void setLocale(Locale newValue)(Code)(Java Doc) public void setProperty(String propertyName, Object newValue)(Code)(Java Doc) public void setRenderId(String renderId)(Code)(Java Doc) public void setStyle(Style newValue)(Code)(Java Doc) public void setStyleName(String newValue)(Code)(Java Doc) public void setVisible(boolean newValue)(Code)(Java Doc) public void validate()(Code)(Java Doc) public boolean verifyInput(String inputName, Object inputValue)(Code)(Java Doc) final public int visibleIndexOf(Component c)(Code)(Java Doc)
|
|
|
|