com.alee.examples.groups.dynamicmenu
Class DynamicMenuGroup

java.lang.Object
  extended by com.alee.examples.content.DefaultExampleGroup
      extended by com.alee.examples.groups.dynamicmenu.DynamicMenuGroup
All Implemented Interfaces:
ExampleGroup

public class DynamicMenuGroup
extends DefaultExampleGroup

Dynamic menu example group.

Author:
Mikle Garin

Constructor Summary
DynamicMenuGroup()
           
 
Method Summary
 FeatureState getFeatureGroupState()
          Returns release feature state by default.
 java.lang.String getGroupDescription()
          Returns short example group description.
 java.util.List<Example> getGroupExamples()
          Returns a list of examples for this example group.
 javax.swing.Icon getGroupIcon()
          Returns example group icon.
 java.lang.String getGroupName()
          Returns example group name.
 boolean isSingleExample()
          Returns false by default.
 
Methods inherited from class com.alee.examples.content.DefaultExampleGroup
getContentPartSize, getPreferredForeground, getResource, isShowWatermark, loadGroupIcon, loadIcon, modifyExampleTab, modifySeparator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicMenuGroup

public DynamicMenuGroup()
Method Detail

getGroupIcon

public javax.swing.Icon getGroupIcon()
Returns example group icon.

Returns:
example group icon

getGroupName

public java.lang.String getGroupName()
Returns example group name.

Returns:
example group name

getGroupDescription

public java.lang.String getGroupDescription()
Returns short example group description.

Returns:
short example group description

isSingleExample

public boolean isSingleExample()
Returns false by default.

Specified by:
isSingleExample in interface ExampleGroup
Overrides:
isSingleExample in class DefaultExampleGroup
Returns:
false

getFeatureGroupState

public FeatureState getFeatureGroupState()
Returns release feature state by default.

Specified by:
getFeatureGroupState in interface ExampleGroup
Overrides:
getFeatureGroupState in class DefaultExampleGroup
Returns:
release feature state

getGroupExamples

public java.util.List<Example> getGroupExamples()
Returns a list of examples for this example group.

Returns:
list of examples