public class ControlBarWindowPane extends WindowPane
FloatingPane component that displays
a control bar at the bottom that can hold controls for the rest of
the components displayed in the pane. Use the addControl(nextapp.echo2.app.Component)
and addContent(nextapp.echo2.app.Component) method to add controls to the pane or other
UI components to the pane.
© Copyright 2007 Sans Pareil Technologies, Inc.
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE, INPUT_CLOSE, PROPERTY_BACKGROUND_IMAGE, PROPERTY_BORDER, PROPERTY_CLOSABLE, PROPERTY_CLOSE_ICON, PROPERTY_CLOSE_ICON_INSETS, PROPERTY_DEFAULT_CLOSE_OPERATION, PROPERTY_HEIGHT, PROPERTY_ICON, PROPERTY_ICON_INSETS, PROPERTY_INSETS, PROPERTY_MAXIMIZABLE, PROPERTY_MAXIMIZE_ICON, PROPERTY_MAXIMIZE_ICON_INSETS, PROPERTY_MAXIMIZED, PROPERTY_MAXIMUM_HEIGHT, PROPERTY_MAXIMUM_WIDTH, PROPERTY_MINIMIZABLE, PROPERTY_MINIMIZE_ICON, PROPERTY_MINIMIZE_ICON_INSETS, PROPERTY_MINIMIZED, PROPERTY_MINIMUM_HEIGHT, PROPERTY_MINIMUM_WIDTH, PROPERTY_MOVABLE, PROPERTY_POSITION_X, PROPERTY_POSITION_Y, PROPERTY_RESIZABLE, PROPERTY_TITLE, PROPERTY_TITLE_BACKGROUND, PROPERTY_TITLE_BACKGROUND_IMAGE, PROPERTY_TITLE_FONT, PROPERTY_TITLE_FOREGROUND, PROPERTY_TITLE_HEIGHT, PROPERTY_TITLE_INSETS, PROPERTY_WIDTH, Z_INDEX_CHANGED_PROPERTYCHILDREN_CHANGED_PROPERTY, ENABLED_CHANGED_PROPERTY, FOCUS_TRAVERSAL_INDEX_CHANGED_PROPERTY, FOCUS_TRAVERSAL_PARTICIPANT_CHANGED_PROPERTY, LAYOUT_DIRECTION_CHANGED_PROPERTY, LOCALE_CHANGED_PROPERTY, PROPERTY_BACKGROUND, PROPERTY_FONT, PROPERTY_FOREGROUND, PROPERTY_LAYOUT_DATA, STYLE_CHANGED_PROPERTY, STYLE_NAME_CHANGED_PROPERTY, VISIBLE_CHANGED_PROPERTYMODAL_CHANGED_PROPERTY| Constructor and Description |
|---|
ControlBarWindowPane()
Create a new window pane and initialise the layout for the pane.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addContent(Component content)
Add the specified content component to the pane.
|
void |
addContent(Component content,
int index)
Add the specified component component to the pane at the specified
index.
|
void |
addControl(Component control)
Add the specified control component to the pane.
|
void |
addControl(Component control,
int index)
Add the specified control component to the pane at the specified
index.
|
void |
removeAllContents()
Remove all the content components from the pane.
|
void |
removeAllControls()
Remove all the control components from the pane.
|
void |
removeContent(Component content)
Remove the specified content component from the pane.
|
void |
removeContent(int index)
Remove the content component at the specified index from the pane.
|
void |
removeControl(Component control)
Remove the specified control component from the pane.
|
void |
removeControl(int index)
Remove the control component at the specified index from the pane.
|
initaddWindowPaneListener, fireWindowClosing, getBackgroundImage, getBorder, getCloseIcon, getCloseIconInsets, getDefaultCloseOperation, getHeight, getIcon, getIconInsets, getInsets, getMaximizeIcon, getMaximizeIconInsets, getMaximumHeight, getMaximumWidth, getMinimizeIcon, getMinimizeIconInsets, getMinimumHeight, getMinimumWidth, getPositionX, getPositionY, getTitle, getTitleBackground, getTitleBackgroundImage, getTitleFont, getTitleForeground, getTitleHeight, getTitleInsets, getWidth, getZIndex, isClosable, isMaximizable, isMaximized, isMinimizable, isMinimized, isModal, isMovable, isResizable, isValidChild, isValidParent, processInput, removeWindowPaneListener, setBackgroundImage, setBorder, setClosable, setCloseIcon, setCloseIconInsets, setDefaultCloseOperation, setHeight, setIcon, setIconInsets, setInsets, setMaximizable, setMaximized, setMaximumHeight, setMaximumWidth, setMinimizable, setMinimized, setMinimumHeight, setMinimumWidth, setModal, setMovable, setPositionX, setPositionY, setResizable, setTitle, setTitleBackground, setTitleBackgroundImage, setTitleFont, setTitleForeground, setTitleHeight, setTitleInsets, setWidth, setZIndex, userCloseadd, add, addPropertyChangeListener, addPropertyChangeListener, dispose, firePropertyChange, getApplicationInstance, getBackground, getComponent, getComponent, getComponentCount, getComponents, getEventListenerList, getFocusTraversalIndex, getFont, getForeground, getId, getIndexedProperty, getLayoutData, getLayoutDirection, getLocale, getParent, getProperty, getRenderId, getRenderIndexedProperty, getRenderIndexedProperty, getRenderLayoutDirection, getRenderLocale, getRenderProperty, getRenderProperty, getStyle, getStyleName, getVisibleComponent, getVisibleComponentCount, getVisibleComponents, hasEventListenerList, indexOf, isAncestorOf, isEnabled, isFocusTraversalParticipant, isRegistered, isRenderEnabled, isRenderVisible, isVisible, remove, remove, removeAll, removePropertyChangeListener, removePropertyChangeListener, setBackground, setEnabled, setFocusTraversalIndex, setFocusTraversalParticipant, setFont, setForeground, setId, setIndexedProperty, setLayoutData, setLayoutDirection, setLocale, setProperty, setRenderId, setStyle, setStyleName, setVisible, validate, verifyInput, visibleIndexOfpublic ControlBarWindowPane()
public void addControl(Component control)
control - The control component. These are usually Button components.Component.add( Component )public void addControl(Component control, int index)
control - The control component. These are usually Button components.index - The index at which the component is to be added.Component.add( Component, int )public void removeControl(Component control)
control - The control component that is to be removed.Component.remove( Component )public void removeControl(int index)
index - The index of which the component that is to be removed.Component.remove( int )public void removeAllControls()
public void addContent(Component content)
content - The content component. These may be layout components
such as Row, Column, Grid etc, or componens such as TextField,
Label, etc.Component.add( Component )public void addContent(Component content, int index)
content - The content component. These may be layout components
such as Row, Column, Grid etc, or componens such as TextField,
Label, etc.index - The index at which the component is to be added.Component.add( Component, int )public void removeContent(Component content)
content - The content component that is to be removed.Component.remove( Component )public void removeContent(int index)
index - The index of which the component that is to be removed.Component.remove( int )public void removeAllContents()