C - The child component that is displayed in this header.public abstract class AbstractHeader<C extends Component> extends SplitPane
© Copyright 2009 Sans Pareil Technologies, Inc.
| Modifier and Type | Field and Description |
|---|---|
static String |
LABEL_STYLE
The name of the style that is assigned to the label displayed in the
header.
|
ORIENTATION_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| Modifier | Constructor and Description |
|---|---|
protected |
AbstractHeader()
Create a new instance of the component.
|
| Modifier and Type | Method and Description |
|---|---|
protected Label |
createTitle()
Create the label that displays the application title in the header.
|
protected abstract C |
getComponent() |
protected Component |
getLogo()
Return the component that displays the logo for the application.
|
void |
init()
Life-cycle method invoked when the header is added to the view
hierarcy.
|
getOrientation, 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, visibleIndexOfpublic static final String LABEL_STYLE
protected AbstractHeader()
Logo as the
first child.public void init()
protected Component getLogo()
Logo.protected Label createTitle()
protected abstract C getComponent()