Package | Description |
---|---|
net.sf.jguiraffe.examples.tutorial.createfile | |
net.sf.jguiraffe.examples.tutorial.viewset | |
net.sf.jguiraffe.gui.builder.action |
The
action sub package of the builder contains interfaces and
classes for dealing with actions and related objects during a builder operation. |
net.sf.jguiraffe.gui.builder.action.tags |
Here the tags for creating actions and related objects are defined.
|
net.sf.jguiraffe.gui.builder.components |
This package defines the part of the builder that deals with components.
|
net.sf.jguiraffe.gui.builder.components.model |
In this package interfaces for specialized component handlers can be found.
|
net.sf.jguiraffe.gui.builder.components.tags |
A package with tag handler classes for creating GUI components.
|
net.sf.jguiraffe.gui.builder.components.tags.table |
A package with tag handler classes for creating table components.
|
net.sf.jguiraffe.gui.builder.event |
The main package for events and event listeners definitions.
|
net.sf.jguiraffe.gui.forms |
A package for dealing with forms.
|
net.sf.jguiraffe.gui.platform.swing.builder.action |
This package contains Swing-specific implementations for action-related classes.
|
net.sf.jguiraffe.gui.platform.swing.builder.components |
A package with Swing-specific
ComponentHandler implementations. |
net.sf.jguiraffe.gui.platform.swing.builder.event |
A package with Swing-specific event implementations.
|
Constructor and Description |
---|
AppendTextActionTask(ComponentHandler<String> handler,
String txt)
Creates a new instance of
AppendTextActionTask and initializes
it. |
ClearTextActionTask(ComponentHandler<String> handler)
Creates a new instance of
ClearTextActionTask and initializes it. |
Modifier and Type | Class and Description |
---|---|
class |
BooleanRadioButtonHandler
A specialized
ComponentHandler implementation for a radio button
group with only two elements. |
Modifier and Type | Method and Description |
---|---|
ComponentHandler<?> |
ActionManagerWrapper.createMenuItem(ActionBuilder actionBuilder,
ActionData actionData,
boolean checked,
Object parent)
Creates a menu item based on the specified action data object and returns
a component handler for it.
|
ComponentHandler<?> |
ActionManager.createMenuItem(ActionBuilder actionBuilder,
ActionData actionData,
boolean checked,
Object parent)
Creates a menu item based on the specified action data object and returns
a component handler for it.
|
ComponentHandler<?> |
ActionManagerWrapper.createToolbarButton(ActionBuilder actionBuilder,
ActionData data,
boolean checked,
Object parent)
Creates a toolbar button based on the given action data object and
returns a component handler for it.
|
ComponentHandler<?> |
ActionManager.createToolbarButton(ActionBuilder actionBuilder,
ActionData data,
boolean checked,
Object parent)
Creates a toolbar button based on the given action data object and
returns a component handler for it.
|
Modifier and Type | Method and Description |
---|---|
protected ComponentHandler<?> |
ToolButtonTag.createElementHandler(ActionManager manager,
ActionData data,
Object parent)
Creates a toolbar button based on the given data object.
|
protected ComponentHandler<?> |
MenuItemTag.createElementHandler(ActionManager manager,
ActionData data,
Object parent)
Creates a menu item based on an action data object.
|
protected abstract ComponentHandler<?> |
ActionControlTag.createElementHandler(ActionManager manager,
ActionData data,
Object parent)
Creates a control based on the given action data object.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CompositeComponentHandler<T,S>
Definition of an interface for complex component handlers that can contain
other component handlers.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCompositeComponentHandler<T,S>
An abstract base class for concrete implementations of the
CompositeComponentHandler interface. |
Modifier and Type | Method and Description |
---|---|
ComponentHandler<Boolean> |
ComponentManagerWrapper.createButton(ButtonTag tag,
boolean create)
Creates a button component.
|
ComponentHandler<Boolean> |
ComponentManager.createButton(ButtonTag tag,
boolean create)
Creates a button component.
|
ComponentHandler<Boolean> |
ComponentManagerWrapper.createCheckbox(CheckboxTag tag,
boolean create)
Creates a component handler that wraps a checkbox.
|
ComponentHandler<Boolean> |
ComponentManager.createCheckbox(CheckboxTag tag,
boolean create)
Creates a component handler that wraps a checkbox.
|
ComponentHandler<Object> |
ComponentManagerWrapper.createComboBox(ComboBoxTag tag,
boolean create)
Creates a component handler that wraps a combo box.
|
ComponentHandler<Object> |
ComponentManager.createComboBox(ComboBoxTag tag,
boolean create)
Creates a component handler that wraps a combo box.
|
ComponentHandler<Object> |
ComponentManagerWrapper.createListBox(ListBoxTag tag,
boolean create)
Creates a component handler that wraps a list box.
|
ComponentHandler<Object> |
ComponentManager.createListBox(ListBoxTag tag,
boolean create)
Creates a component handler that wraps a list box.
|
ComponentHandler<String> |
ComponentManagerWrapper.createPasswordField(PasswordFieldTag tag,
boolean create)
Creates a
ComponentHandler that wraps a password text field. |
ComponentHandler<String> |
ComponentManager.createPasswordField(PasswordFieldTag tag,
boolean create)
Creates a
ComponentHandler that wraps a password text field. |
ComponentHandler<Integer> |
ComponentManagerWrapper.createProgressBar(ProgressBarTag tag,
boolean create)
Creates a component handler that wraps a progress bar element.
|
ComponentHandler<Integer> |
ComponentManager.createProgressBar(ProgressBarTag tag,
boolean create)
Creates a component handler that wraps a progress bar element.
|
ComponentHandler<Boolean> |
ComponentManagerWrapper.createRadioButton(RadioButtonTag tag,
boolean create)
Creates a component handler that wraps a radio button.
|
ComponentHandler<Boolean> |
ComponentManager.createRadioButton(RadioButtonTag tag,
boolean create)
Creates a component handler that wraps a radio button.
|
ComponentHandler<Integer> |
ComponentManagerWrapper.createSlider(SliderTag tag,
boolean create)
Creates a component handler that wraps a slider component.
|
ComponentHandler<Integer> |
ComponentManager.createSlider(SliderTag tag,
boolean create)
Creates a component handler that wraps a slider component.
|
ComponentHandler<StaticTextData> |
ComponentManagerWrapper.createStaticText(StaticTextTag tag,
boolean create)
Creates a component handler that wraps a static text element.
|
ComponentHandler<StaticTextData> |
ComponentManager.createStaticText(StaticTextTag tag,
boolean create)
Creates a component handler that wraps a static text element.
|
ComponentHandler<Integer> |
ComponentManagerWrapper.createTabbedPane(TabbedPaneTag tag,
boolean create)
Creates a component handler that wraps a tabbed pane.
|
ComponentHandler<Integer> |
ComponentManager.createTabbedPane(TabbedPaneTag tag,
boolean create)
Creates a component handler that wraps a tabbed pane.
|
ComponentHandler<Object> |
ComponentManagerWrapper.createTable(TableTag tag,
boolean create)
Creates a table based on the information stored in the passed in table
tag.
|
ComponentHandler<Object> |
ComponentManager.createTable(TableTag tag,
boolean create)
Creates a table based on the information stored in the passed in table
tag.
|
ComponentHandler<String> |
ComponentManagerWrapper.createTextArea(TextAreaTag tag,
boolean create)
Creates a component handler that wraps a text area.
|
ComponentHandler<String> |
ComponentManager.createTextArea(TextAreaTag tag,
boolean create)
Creates a component handler that wraps a text area.
|
ComponentHandler<String> |
ComponentManagerWrapper.createTextField(TextFieldTag tag,
boolean create)
Creates a component handler that wraps a text field.
|
ComponentHandler<String> |
ComponentManager.createTextField(TextFieldTag tag,
boolean create)
Creates a component handler that wraps a text field.
|
ComponentHandler<Boolean> |
ComponentManagerWrapper.createToggleButton(ToggleButtonTag tag,
boolean create)
Creates a toggle button component.
|
ComponentHandler<Boolean> |
ComponentManager.createToggleButton(ToggleButtonTag tag,
boolean create)
Creates a toggle button component.
|
ComponentHandler<Object> |
ComponentManagerWrapper.createTree(TreeTag tag,
boolean create)
Creates a tree component based on the information stored in the passed in
tree tag.
|
ComponentHandler<Object> |
ComponentManager.createTree(TreeTag tag,
boolean create)
Creates a tree component based on the information stored in the passed in
tree tag.
|
protected ComponentHandler<S> |
AbstractCompositeComponentHandler.getChildHandler(String name)
Returns the child handler with the specified name.
|
ComponentHandler<?> |
ComponentBuilderData.getComponentHandler(String name)
Returns the component handler with the specified name from the current
ComponentStore . |
Modifier and Type | Method and Description |
---|---|
protected List<ComponentHandler<S>> |
AbstractCompositeComponentHandler.getChildHandlers()
Returns a list with all child handlers managed by this
CompositeComponentHandler . |
Map<String,ComponentHandler<?>> |
ComponentGroup.getComponentHandlers(ComponentBuilderData data)
Returns a map with the
ComponentHandler objects of the components
this group refers to. |
Modifier and Type | Method and Description |
---|---|
void |
CompositeComponentHandler.addHandler(String name,
ComponentHandler<S> handler)
Adds a simple
ComponentHandler object to this composite
handler. |
void |
AbstractCompositeComponentHandler.addHandler(String name,
ComponentHandler<S> handler)
Adds the specified child
ComponentHandler to this CompositeComponentHandler . |
FieldHandler |
FieldHandlerFactory.createFieldHandler(InputComponentTag tag,
ComponentHandler<?> componentHandler)
Creates a new field handler object.
|
FieldHandler |
DefaultFieldHandlerFactory.createFieldHandler(InputComponentTag tag,
ComponentHandler<?> componentHandler)
Creates a new field handler object for the specified input component tag.
|
void |
ComponentBuilderData.storeComponentHandler(String name,
ComponentHandler<?> handler)
Stores the given component handler in the current
ComponentStore . |
Modifier and Type | Interface and Description |
---|---|
interface |
ListComponentHandler
A specialized component handler interface for components with list-like
structures.
|
interface |
ProgressBarHandler
A specialized component handler that represents a progress bar component.
|
interface |
StaticTextHandler
Definition of an interface for a handler that represents a static text
component.
|
interface |
TableHandler
A specialized
ComponentHandler interface dealing with specific
functionality provided by tables. |
interface |
TextHandler
A specialized
ComponentHandler implementation for text components. |
interface |
TreeHandler
A specialized
ComponentHandler interface for dealing with tree
components. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractRadioButtonHandler<T>
A base class for
ComponentHandler implementations for radio buttons. |
class |
DefaultRadioButtonHandler
A concrete default implementation of a
CompositeComponentHandler for
a group of radio buttons. |
Modifier and Type | Method and Description |
---|---|
protected ComponentHandler<?> |
TreeTag.createComponentHandler(ComponentManager manager,
boolean create)
Creates the component handler for the tree component.
|
protected ComponentHandler<?> |
TextFieldTag.createComponentHandler(ComponentManager manager,
boolean create)
Creates the component handler for this text field.
|
protected ComponentHandler<?> |
TextAreaTag.createComponentHandler(ComponentManager manager,
boolean create)
Creates a component handler for the text area defined by this tag.
|
protected ComponentHandler<?> |
TabbedPaneTag.createComponentHandler(ComponentManager manager,
boolean create)
Creates the component handler object for the represented component.
|
protected ComponentHandler<?> |
SliderTag.createComponentHandler(ComponentManager manager,
boolean create)
Creates a
ComponentHandler for the managed slider component. |
protected ComponentHandler<?> |
PushButtonTag.createComponentHandler(ComponentManager manager,
boolean create)
Creates the component handler for the new input component.
|
protected ComponentHandler<?> |
ProgressBarTag.createComponentHandler(ComponentManager manager,
boolean create)
Creates a component handler for the represented component.
|
protected ComponentHandler<?> |
PasswordFieldTag.createComponentHandler(ComponentManager manager,
boolean create)
Creates the
ComponentHandler for this task. |
protected ComponentHandler<?> |
ListBoxTag.createComponentHandler(ComponentManager manager,
boolean create)
Creates the list box component.
|
protected abstract ComponentHandler<?> |
InputComponentTag.createComponentHandler(ComponentManager manager,
boolean create)
Creates the component handler used by this input component.
|
protected ComponentHandler<?> |
FieldTag.createComponentHandler(ComponentManager manager,
boolean create)
Returns the component handler to be used by the component that is
represented by this tag.
|
protected ComponentHandler<Object> |
ComboBoxTag.createComponentHandler(ComponentManager manager,
boolean create)
Creates the combo box component.
|
protected ComponentHandler<?> |
ToggleButtonTag.createPushButton(ComponentManager manager,
boolean create)
Creates the new toggle button component.
|
protected ComponentHandler<?> |
StaticTextTag.createPushButton(ComponentManager manager,
boolean create)
Creates the element.
|
protected ComponentHandler<?> |
RadioButtonTag.createPushButton(ComponentManager manager,
boolean create)
Creates the radio button.
|
protected abstract ComponentHandler<?> |
PushButtonTag.createPushButton(ComponentManager manager,
boolean create)
Creates the push button component of the correct type.
|
protected ComponentHandler<Boolean> |
CheckboxTag.createPushButton(ComponentManager manager,
boolean create)
Creates the checkbox.
|
protected ComponentHandler<Boolean> |
ButtonTag.createPushButton(ComponentManager manager,
boolean create)
Creates the new command button component.
|
ComponentHandler<?> |
InputComponentTag.getComponentHandler()
Returns the component handler that was created by this tag.
|
Modifier and Type | Method and Description |
---|---|
protected FieldHandler |
InputComponentTag.createFieldHandler(ComponentHandler<?> componentHandler)
Creates a field handler object for the input component.
|
void |
FieldTag.setComponentHandler(ComponentHandler<?> componentHandler)
Sets the component handler to be used by this tag.
|
Modifier and Type | Method and Description |
---|---|
protected ComponentHandler<?> |
TableTag.createComponentHandler(ComponentManager manager,
boolean create)
Creates the table component.
|
Modifier and Type | Method and Description |
---|---|
ComponentHandler<?> |
FormEventManager.getComponentHandler(String name)
Returns the component handler with the given name.
|
ComponentHandler<?> |
FormEvent.getHandler()
Returns the handler object of the component, which caused this event.
|
Modifier and Type | Method and Description |
---|---|
void |
PlatformEventManager.registerListener(String name,
ComponentHandler<?> handler,
FormEventManager eventManager,
FormListenerType type)
Registers an event listener of the given type at the specified component.
|
void |
PlatformEventManager.unregisterListener(String name,
ComponentHandler<?> handler,
FormEventManager eventManager,
FormListenerType type)
Removes an event listener of the given type from the specified component.
|
Constructor and Description |
---|
FormActionEvent(Object source,
ComponentHandler<?> handler,
String name,
String cmd)
Creates a new instance of
FormActionEvent and initializes
it. |
FormChangeEvent(Object source,
ComponentHandler<?> handler,
String name)
Creates a new instance of
FormChangeEvent and initializes
it. |
FormEvent(Object source,
ComponentHandler<?> handler,
String name)
Creates a new instance of
FormEvent and initializes it. |
FormFocusEvent(Object source,
ComponentHandler<?> handler,
String name,
FormFocusEvent.Type type)
Creates a new instance of
FormFocusEvent and initializes it. |
FormMouseEvent(Object source,
ComponentHandler<?> handler,
String name,
FormMouseEvent.Type t,
int xp,
int yp,
int btn,
Collection<Modifiers> mods)
Creates a new instance of
FormMouseEvent and initializes all its
properties. |
Modifier and Type | Class and Description |
---|---|
class |
ComponentHandlerImpl
A simple default implementation of the
ComponentHandler
interface. |
Modifier and Type | Method and Description |
---|---|
ComponentHandler<?> |
ComponentStoreImpl.findComponentHandler(String name)
Searches the component handler with the specified name.
|
ComponentHandler<?> |
ComponentStore.findComponentHandler(String name)
Returns the component handler with the given name.
|
ComponentHandler<?> |
FieldHandler.getComponentHandler()
Returns the
ComponentHandler used by this
FieldHandler . |
ComponentHandler<?> |
DefaultFieldHandler.getComponentHandler()
Returns the component handler.
|
Modifier and Type | Method and Description |
---|---|
void |
ComponentStoreImpl.addComponentHandler(String name,
ComponentHandler<?> handler)
Adds a new component handler to this store.
|
void |
ComponentStore.addComponentHandler(String name,
ComponentHandler<?> handler)
Adds the specified component handler to this component store under the
given name.
|
void |
DefaultFieldHandler.setComponentHandler(ComponentHandler<?> componentHandler)
Sets the component handler.
|
Modifier and Type | Method and Description |
---|---|
ComponentHandler<?> |
SwingActionManager.createMenuItem(ActionBuilder actionBuilder,
ActionData actionData,
boolean checked,
Object parent)
Creates a menu item based on the passed in data object.
|
ComponentHandler<?> |
SwingActionManager.createToolbarButton(ActionBuilder actionBuilder,
ActionData data,
boolean checked,
Object parent)
Creates a toolbar button based on the passed in action data object and
returns a component handler for it.
|
Modifier and Type | Class and Description |
---|---|
class |
SwingButtonHandler
A specific Swing component handler implementation that deals with several
kinds of button like components.
|
Modifier and Type | Method and Description |
---|---|
ComponentHandler<Boolean> |
SwingComponentManager.createButton(ButtonTag tag,
boolean create)
Creates a component handler for a command button, which is specified by
the given tag.
|
protected ComponentHandler<Boolean> |
SwingComponentManager.createButtonHandler(AbstractButton button,
InputComponentTag tag,
TextIconData data,
String command)
Initializes a button component and creates a component handler for it.
|
ComponentHandler<Boolean> |
SwingComponentManager.createCheckbox(CheckboxTag tag,
boolean create)
Creates a component handler for a checkbox, which is specified by the
given tag.
|
ComponentHandler<Object> |
SwingComponentManager.createComboBox(ComboBoxTag tag,
boolean create)
Creates a component handler for a combo box, which is specified by the
given tag.
|
ComponentHandler<Object> |
SwingComponentManager.createListBox(ListBoxTag tag,
boolean create)
Creates a component handler for a list, which is specified by the given
tag.
|
ComponentHandler<String> |
SwingComponentManager.createPasswordField(PasswordFieldTag tag,
boolean create)
Creates a component handler for a password text field which is specified
by the given tag.
|
ComponentHandler<Integer> |
SwingComponentManager.createProgressBar(ProgressBarTag tag,
boolean create)
Creates a component handler for a progress bar, which is specified by the
given tag.
|
ComponentHandler<Boolean> |
SwingComponentManager.createRadioButton(RadioButtonTag tag,
boolean create)
Creates a component handler for a radio button, which is specified by the
given tag.
|
ComponentHandler<Integer> |
SwingComponentManager.createSlider(SliderTag tag,
boolean create)
Creates a component handler for a slider, which is specified by the given
tag.
|
ComponentHandler<StaticTextData> |
SwingComponentManager.createStaticText(StaticTextTag tag,
boolean create)
Creates a component handler for a static text, which is specified by the
given tag.
|
ComponentHandler<Integer> |
SwingComponentManager.createTabbedPane(TabbedPaneTag tag,
boolean create)
Creates a component handler for a tabbed pane, which is specified by the
given tag.
|
ComponentHandler<Object> |
SwingComponentManager.createTable(TableTag tag,
boolean create)
Creates a component handler for a table specified by the given tag.
|
ComponentHandler<String> |
SwingComponentManager.createTextArea(TextAreaTag tag,
boolean create)
Creates a component handler for a text area which is specified by the
given tag.
|
ComponentHandler<String> |
SwingComponentManager.createTextField(TextFieldTag tag,
boolean create)
Creates a component handler for a text field which is specified by the
given tag.
|
ComponentHandler<Boolean> |
SwingComponentManager.createToggleButton(ToggleButtonTag tag,
boolean create)
Creates a component handler for a toggle button, which is specified by
the given tag.
|
ComponentHandler<Object> |
SwingComponentManager.createTree(TreeTag tag,
boolean create)
Creates a component handler for a tree specified by the given tag.
|
Modifier and Type | Method and Description |
---|---|
ComponentHandler<?> |
SwingEventAdapter.getHandler()
Returns a reference to the associated component handler.
|
Modifier and Type | Method and Description |
---|---|
void |
SwingEventManager.registerListener(String name,
ComponentHandler<?> handler,
FormEventManager eventManager,
FormListenerType type)
Registers the event manager as an event listener at the specified
component.
|
void |
SwingEventManager.unregisterListener(String name,
ComponentHandler<?> handler,
FormEventManager eventManager,
FormListenerType type)
Unregisters the event listener from the specified component.
|
Constructor and Description |
---|
MouseEventAdapter(FormEventManager eventManager,
ComponentHandler<?> handler,
String name)
Creates a new instance of
MouseEventAdapter that passes the
events it receives to the FormEventManager . |
MouseEventAdapter(FormMouseListener l,
ComponentHandler<?> handler,
String name)
Creates a new instance of
MouseEventAdapter that passes the
events it receives to the specified FormMouseListener . |
SwingEventAdapter(FormEventListener l,
ComponentHandler<?> handler,
String name)
Creates a new instance of
SwingEventAdapter that serves a
specific event listener. |
SwingEventAdapter(FormEventManager eventManager,
ComponentHandler<?> handler,
String name)
Creates a new instance of
SwingEventAdapter that uses the FormEventManager to broadcast events. |
Copyright © 2016 The JGUIraffe Team. All rights reserved.