org.openpermis.editor.policy.gui
Class ButtonFactory
java.lang.Object
org.openpermis.editor.policy.gui.ComponentFactory
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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:33
Copyright (c) 2002-2007 Ergon Informatik AG