org.jgraph.pad.actions
Class FormatTextFontSizeList

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byorg.jgraph.pad.actions.AbstractActionDefault
          extended byorg.jgraph.pad.actions.AbstractActionList
              extended byorg.jgraph.pad.actions.FormatTextFontSizeList
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable, TranslatorConstants

public class FormatTextFontSizeList
extends AbstractActionList

See Also:
Serialized Form

Field Summary
static java.lang.String[] fontSizes
          Sizes of the possible fonts
 
Fields inherited from class org.jgraph.pad.actions.AbstractActionList
center, ITEM_KEY, u2
 
Fields inherited from class org.jgraph.pad.actions.AbstractActionDefault
graphpad
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface org.jgraph.pad.resources.TranslatorConstants
PREFIX_COMPONENT, PREFIX_MESSAGE_ERROR, PREFIX_MESSAGE_INFORMATION, PREFIX_MESSAGE_WARING, SUFFIX_ACCELERATOR, SUFFIX_ACTION, SUFFIX_ICON, SUFFIX_IMAGE, SUFFIX_LABEL, SUFFIX_MENU, SUFFIX_MNEMONIC, SUFFIX_TEXT, SUFFIX_TITLE, SUFFIX_TOOL_TIP_TEXT
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
FormatTextFontSizeList(GPGraphpad graphpad)
          Constructor for FormatTextFontSizeList.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
protected  java.lang.Object[] getItems()
          You should return a hashtable with the possible items.
protected  javax.swing.JComboBox getToolBarComponent()
           
 
Methods inherited from class org.jgraph.pad.actions.AbstractActionList
getItemListCellRenderer, getItemPresentationText, getMenuBarComponent, getMenuComponent, getMenuComponents, getSelectedItem, getToolComponents, tokenize
 
Methods inherited from class org.jgraph.pad.actions.AbstractActionDefault
getCurrentDocument, getCurrentGraph, getCurrentGraphLayoutCache, getGraphpad, getMenuComponent, getName, getPresentationText, getToolComponent, setFontNameForSelection, setFontSizeForSelection, setFontStyleForSelection, setGraphpad, setSelectionAttributes, update
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fontSizes

public static java.lang.String[] fontSizes
Sizes of the possible fonts

Constructor Detail

FormatTextFontSizeList

public FormatTextFontSizeList(GPGraphpad graphpad)
Constructor for FormatTextFontSizeList.

Parameters:
graphpad -
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
See Also:
ActionListener.actionPerformed(ActionEvent)

getToolBarComponent

protected javax.swing.JComboBox getToolBarComponent()
Overrides:
getToolBarComponent in class AbstractActionList
See Also:
AbstractActionList.getToolBarComponent()

getItems

protected java.lang.Object[] getItems()
Description copied from class: AbstractActionList
You should return a hashtable with the possible items.

Specified by:
getItems in class AbstractActionList
See Also:
AbstractActionList.getItems()