uk.ac.essex.common.action
Interface ActionDescriptor

All Known Implementing Classes:
ActionDescriptorImpl

public interface ActionDescriptor


Created Date: 01-Nov-2003

You should have received a copy of Lesser GNU public license with this code. If not please visit this site


Method Summary
 javax.swing.Action getAction(java.util.Locale currentLocale)
          Get an action for the current application locale, this means labels will try to internationalised.
 java.lang.String getClassName()
           
 java.lang.String getDescription()
           
 java.lang.String getIcon()
           
 java.lang.String getId()
           
 long getIndex()
           
 java.lang.String getLabel()
           
 java.lang.String getName()
           
 boolean hasIcon()
           
 boolean hasToolBarReferences()
          Determines if this action is bound to any toolbars
 

Method Detail

getId

java.lang.String getId()

getClassName

java.lang.String getClassName()

getDescription

java.lang.String getDescription()

getIcon

java.lang.String getIcon()

getIndex

long getIndex()

getLabel

java.lang.String getLabel()

getName

java.lang.String getName()

hasIcon

boolean hasIcon()

getAction

javax.swing.Action getAction(java.util.Locale currentLocale)
                             throws ActionCreationException
Get an action for the current application locale, this means labels will try to internationalised. TODO: look at gui-commands

Returns:
Action - Internationalised action representing this description
Throws:
ActionCreationException

hasToolBarReferences

boolean hasToolBarReferences()
Determines if this action is bound to any toolbars

Returns: