M - The menu component to display in the header.public class MenuHeader<M extends AbstractMenuComponent> extends AbstractHeader<SplitPane>
setMenuBar(M) method.
© Copyright 2009 Sans Pareil Technologies, Inc.
LABEL_STYLEORIENTATION_HORIZONTAL, ORIENTATION_HORIZONTAL_LEADING_TRAILING, ORIENTATION_HORIZONTAL_LEFT_RIGHT, ORIENTATION_HORIZONTAL_RIGHT_LEFT, ORIENTATION_HORIZONTAL_TRAILING_LEADING, ORIENTATION_VERTICAL, ORIENTATION_VERTICAL_BOTTOM_TOP, ORIENTATION_VERTICAL_TOP_BOTTOM, PROPERTY_AUTO_POSITIONED, PROPERTY_ORIENTATION, PROPERTY_RESIZABLE, PROPERTY_SEPARATOR_COLOR, PROPERTY_SEPARATOR_HEIGHT, PROPERTY_SEPARATOR_HORIZONTAL_IMAGE, PROPERTY_SEPARATOR_HORIZONTAL_ROLLOVER_IMAGE, PROPERTY_SEPARATOR_POSITION, PROPERTY_SEPARATOR_ROLLOVER_COLOR, PROPERTY_SEPARATOR_VERTICAL_IMAGE, PROPERTY_SEPARATOR_VERTICAL_ROLLOVER_IMAGE, PROPERTY_SEPARATOR_VISIBLE, PROPERTY_SEPARATOR_WIDTHCHILD_VISIBLE_CHANGED_PROPERTY, CHILDREN_CHANGED_PROPERTY, ENABLED_CHANGED_PROPERTY, FOCUS_NEXT_ID_CHANGED_PROPERTY, FOCUS_PREVIOUS_ID_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_PROPERTY| Constructor and Description |
|---|
MenuHeader()
Create a new instance of the component.
|
| Modifier and Type | Method and Description |
|---|---|
protected SplitPane |
getComponent() |
M |
getMenuBar() |
void |
setMenuBar(M menu)
Set the menu component to display in the header.
|
createTitle, getLogo, initgetOrientation, getSeparatorColor, getSeparatorHeight, getSeparatorHorizontalImage, getSeparatorHorizontalRolloverImage, getSeparatorPosition, getSeparatorRolloverColor, getSeparatorVerticalImage, getSeparatorVerticalRolloverImage, getSeparatorWidth, isAutoPositioned, isResizable, isSeparatorVisible, isValidChild, isValidParent, processInput, setAutoPositioned, setOrientation, setResizable, setSeparatorColor, setSeparatorHeight, setSeparatorHorizontalImage, setSeparatorHorizontalRolloverImage, setSeparatorPosition, setSeparatorRolloverColor, setSeparatorVerticalImage, setSeparatorVerticalRolloverImage, setSeparatorVisible, setSeparatorWidthadd, add, addPropertyChangeListener, addPropertyChangeListener, dispose, firePropertyChange, get, getApplicationInstance, getBackground, getComponent, getComponent, getComponentCount, getComponents, getEventListenerList, getFocusNextId, getFocusPreviousId, getFont, getForeground, getId, getIndex, getLayoutData, getLayoutDirection, getLocale, getLocalStyle, getParent, getRenderId, getRenderIndexedProperty, getRenderIndexedProperty, getRenderLocale, getRenderProperty, getRenderProperty, getStyle, getStyleName, getVisibleComponent, getVisibleComponentCount, getVisibleComponents, hasEventListenerList, indexOf, isAncestorOf, isEnabled, isFocusTraversalParticipant, isRegistered, isRenderEnabled, isRenderVisible, isVisible, remove, remove, removeAll, removePropertyChangeListener, removePropertyChangeListener, set, setBackground, setComponents, setEnabled, setFocusNextId, setFocusPreviousId, setFocusTraversalParticipant, setFont, setForeground, setId, setIndex, setLayoutData, setLayoutDirection, setLocale, setRenderId, setStyle, setStyleName, setVisible, validate, verifyInput, visibleIndexOfprotected SplitPane getComponent()
getComponent in class AbstractHeader<SplitPane>public M getMenuBar()
null.public void setMenuBar(M menu)
menu - The menu component to display.