org.openpermis.editor.policy.gui
Class ButtonFactory

java.lang.Object
  extended by org.openpermis.editor.policy.gui.ComponentFactory
      extended by org.openpermis.editor.policy.gui.ButtonFactory
Direct Known Subclasses:
ToolBarFactory

public class ButtonFactory
extends ComponentFactory

Factory for buttons.

Since:
0.1.0

Constructor Summary
ButtonFactory(ActionMap actionMap, org.jdesktop.application.ResourceMap resourceMap)
          Creates a button factory that operates on the specified action and resource map.
 
Method Summary
protected  JButton createToolButton(String key)
          Creates a tool button suitable for use in a tool bar.
 
Methods inherited from class org.openpermis.editor.policy.gui.ComponentFactory
getAction, getActionMap, getEntries, getResourceMap, isComposite, isGlue, isPlaceholder, isSeparator, unmaskComposite
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ButtonFactory

public ButtonFactory(ActionMap actionMap,
                     org.jdesktop.application.ResourceMap resourceMap)
Creates a button factory that operates on the specified action and resource map.

Parameters:
actionMap - the action map this factory operates on.
resourceMap - the resource map this factory operates on.
Since:
0.1.0
Method Detail

createToolButton

protected JButton createToolButton(String key)
Creates a tool button suitable for use in a tool bar.

Parameters:
key - the resource key name of the tool button to create.
Returns:
the tool button created.
Since:
0.1.0


PERMIS Role Based Access Control 0.3.0 (Build 14)
2009/05/08 09:06:48
Copyright (c) 2002-2007 Ergon Informatik AG