EchoPoint API - 3.0.0b5
App Webcontainer

echopoint.style.echo.extras
Class MenuBarPaneStyle

java.lang.Object
  extended by nextapp.echo.app.MutableStyle
      extended by echopoint.style.AbstractStyle
          extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class nextapp.echo.app.MutableStyle
MutableStyle.IndexedPropertyValue
 
Field Summary
static int ANIMATION_TIME
          The default menu animation time.
 
Fields inherited from class echopoint.style.AbstractStyle
level, logger
 
Constructor Summary
MenuBarPaneStyle()
           
 
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 echopoint.style.AbstractStyle
get, setFont, setForeground
 
Methods inherited from class nextapp.echo.app.MutableStyle
addStyleContent, getIndex, getIndexedProperty, getProperty, getPropertyIndices, getPropertyNames, isIndexedPropertySet, isPropertySet, removeIndexedProperty, removeProperty, set, setIndex, setIndexedProperty, setProperty, size, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ANIMATION_TIME

public static final int ANIMATION_TIME
The default menu animation time. 150

See Also:
Constant Field Values
Constructor Detail

MenuBarPaneStyle

public MenuBarPaneStyle()
Method Detail

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.


EchoPoint API - 3.0.0b5
App Webcontainer