echopoint.style.echo.extras
Class MenuBarPaneStyle
java.lang.Object
nextapp.echo.app.MutableStyle
echopoint.style.AbstractStyle
echopoint.style.echo.extras.MenuBarPaneStyle
- All Implemented Interfaces:
- Serializable, Style
public class MenuBarPaneStyle
- extends AbstractStyle
The default style to apply for MenuBarPane
components. Sub-classes should over-ride either the root init()
method, or the various property group configuration methods.
- Version:
- $Id: MenuBarPaneStyle.java 211 2009-05-29 02:44:50Z sptrakesh $
- Author:
- Rakesh Vidyadharan 2009-05-26
- See Also:
- Serialized Form
|
Field Summary |
static int |
ANIMATION_TIME
The default menu animation time. |
|
Method Summary |
protected void |
init()
Mandatory style initialisation method to be implemented by all
sub-classes. |
protected void |
setGeneralStyles()
Set general styles (base component styles) and animation time. |
protected void |
setMenuStyles()
Set styles for the menu in the menu bar component. |
protected void |
setSelectionStyles()
Set styles for selection of menu compnents. |
| Methods inherited from class nextapp.echo.app.MutableStyle |
addStyleContent, getIndex, getIndexedProperty, getProperty, getPropertyIndices, getPropertyNames, isIndexedPropertySet, isPropertySet, removeIndexedProperty, removeProperty, set, setIndex, setIndexedProperty, setProperty, size, toString |
ANIMATION_TIME
public static final int ANIMATION_TIME
- The default menu animation time.
150
- See Also:
- Constant Field Values
MenuBarPaneStyle
public MenuBarPaneStyle()
init
protected void init()
- Mandatory style initialisation method to be implemented by all
sub-classes. The default implementation sets the default font to use.
Sub-classes should generally invoke
super.init().
- Overrides:
init in class AbstractStyle
- See Also:
DefaultFont,
AbstractStyle.setFont()
setGeneralStyles
protected void setGeneralStyles()
- Set general styles (base component styles) and animation time.
setMenuStyles
protected void setMenuStyles()
- Set styles for the menu in the menu bar component.
setSelectionStyles
protected void setSelectionStyles()
- Set styles for selection of menu compnents.