|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Factory
Defines the requirements for a factory class used by
Builder.
| Method Summary | |
|---|---|
void |
addCompletionModeMenu(JMenu menu,
Completion completion)
Adds a completion mode menu as a sub menu to the menu. |
void |
addCompletionModeMenu(JTextComponent textComponent,
Completion completion)
Adds a completion mode menu to the text component which pops up when the platform dependent popup action is triggered. |
AbstractButton |
createButton(Action action)
Creates a button for an action. |
AbstractButton |
createCheckBox(ToggleAction action)
Creates a checkbox for a toggle action. |
AbstractButton |
createIconButton(Action action)
Creates an icon button for an action that only shows the icon and not the text of the action. |
JComponent |
createMenuItem(Action action)
Creates a menu item for an action making sure the right sized icon is used. |
AbstractButton |
createToolBarButton(Action action)
Creates a toolbar button for an action making sure the right sized icon is used. |
void |
setProperty(Object key,
Object value)
Sets a property of the factory to configure it. |
| Method Detail |
|---|
void addCompletionModeMenu(JTextComponent textComponent,
Completion completion)
textComponent - completion - the completion object whose completion modes
are set by the menu
void addCompletionModeMenu(JMenu menu,
Completion completion)
menu.
menu - the menu into which the completion mode menu is pluggedcompletion - the completion object whose completion modes
are set by the menuAbstractButton createButton(Action action)
action - the action
AbstractButton createCheckBox(ToggleAction action)
action - the action
AbstractButton createIconButton(Action action)
action - the action
AbstractButton createToolBarButton(Action action)
action - the action
JComponent createMenuItem(Action action)
action - the action
void setProperty(Object key,
Object value)
key - the keyvalue - the value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||