Uses of Interface
net.sf.jguiraffe.gui.forms.ComponentHandler
-
Packages that use ComponentHandler Package Description net.sf.jguiraffe.gui.builder.action Theaction
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. -
-
Uses of ComponentHandler in net.sf.jguiraffe.gui.builder.action
Methods in net.sf.jguiraffe.gui.builder.action that return ComponentHandler Modifier and Type Method Description 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. 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. 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<?>
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. -
Uses of ComponentHandler in net.sf.jguiraffe.gui.builder.action.tags
Methods in net.sf.jguiraffe.gui.builder.action.tags that return ComponentHandler Modifier and Type Method Description protected abstract ComponentHandler<?>
ActionControlTag. createElementHandler(ActionManager manager, ActionData data, Object parent)
Creates a control based on the given action data object.protected ComponentHandler<?>
MenuItemTag. createElementHandler(ActionManager manager, ActionData data, Object parent)
Creates a menu item based on an action data object.protected ComponentHandler<?>
ToolButtonTag. createElementHandler(ActionManager manager, ActionData data, Object parent)
Creates a toolbar button based on the given data object. -
Uses of ComponentHandler in net.sf.jguiraffe.gui.builder.components
Subinterfaces of ComponentHandler in net.sf.jguiraffe.gui.builder.components Modifier and Type Interface Description interface
CompositeComponentHandler<T,S>
Definition of an interface for complex component handlers that can contain other component handlers.Classes in net.sf.jguiraffe.gui.builder.components that implement ComponentHandler Modifier and Type Class Description class
AbstractCompositeComponentHandler<T,S>
An abstract base class for concrete implementations of theCompositeComponentHandler
interface.Methods in net.sf.jguiraffe.gui.builder.components that return ComponentHandler Modifier and Type Method Description ComponentHandler<Boolean>
ComponentManager. createButton(ButtonTag tag, boolean create)
Creates a button component.ComponentHandler<Boolean>
ComponentManagerWrapper. createButton(ButtonTag tag, boolean create)
Creates a button component.ComponentHandler<Boolean>
ComponentManager. createCheckbox(CheckboxTag tag, boolean create)
Creates a component handler that wraps a checkbox.ComponentHandler<Boolean>
ComponentManagerWrapper. createCheckbox(CheckboxTag tag, boolean create)
Creates a component handler that wraps a checkbox.ComponentHandler<Object>
ComponentManager. createComboBox(ComboBoxTag tag, boolean create)
Creates a component handler that wraps a combo box.ComponentHandler<Object>
ComponentManagerWrapper. createComboBox(ComboBoxTag tag, boolean create)
Creates a component handler that wraps a combo box.ComponentHandler<Object>
ComponentManager. createListBox(ListBoxTag tag, boolean create)
Creates a component handler that wraps a list box.ComponentHandler<Object>
ComponentManagerWrapper. createListBox(ListBoxTag tag, boolean create)
Creates a component handler that wraps a list box.ComponentHandler<String>
ComponentManager. createPasswordField(PasswordFieldTag tag, boolean create)
Creates aComponentHandler
that wraps a password text field.ComponentHandler<String>
ComponentManagerWrapper. createPasswordField(PasswordFieldTag tag, boolean create)
Creates aComponentHandler
that wraps a password text field.ComponentHandler<Integer>
ComponentManager. createProgressBar(ProgressBarTag tag, boolean create)
Creates a component handler that wraps a progress bar element.ComponentHandler<Integer>
ComponentManagerWrapper. createProgressBar(ProgressBarTag tag, boolean create)
Creates a component handler that wraps a progress bar element.ComponentHandler<Boolean>
ComponentManager. createRadioButton(RadioButtonTag tag, boolean create)
Creates a component handler that wraps a radio button.ComponentHandler<Boolean>
ComponentManagerWrapper. createRadioButton(RadioButtonTag tag, boolean create)
Creates a component handler that wraps a radio button.ComponentHandler<Integer>
ComponentManager. createSlider(SliderTag tag, boolean create)
Creates a component handler that wraps a slider component.ComponentHandler<Integer>
ComponentManagerWrapper. createSlider(SliderTag tag, boolean create)
Creates a component handler that wraps a slider component.ComponentHandler<StaticTextData>
ComponentManager. createStaticText(StaticTextTag tag, boolean create)
Creates a component handler that wraps a static text element.ComponentHandler<StaticTextData>
ComponentManagerWrapper. createStaticText(StaticTextTag tag, boolean create)
Creates a component handler that wraps a static text element.ComponentHandler<Integer>
ComponentManager. createTabbedPane(TabbedPaneTag tag, boolean create)
Creates a component handler that wraps a tabbed pane.ComponentHandler<Integer>
ComponentManagerWrapper. createTabbedPane(TabbedPaneTag tag, boolean create)
Creates a component handler that wraps a tabbed pane.ComponentHandler<Object>
ComponentManager. createTable(TableTag tag, boolean create)
Creates a table based on the information stored in the passed in table tag.ComponentHandler<Object>
ComponentManagerWrapper. createTable(TableTag tag, boolean create)
Creates a table based on the information stored in the passed in table tag.ComponentHandler<String>
ComponentManager. createTextArea(TextAreaTag tag, boolean create)
Creates a component handler that wraps a text area.ComponentHandler<String>
ComponentManagerWrapper. createTextArea(TextAreaTag tag, boolean create)
Creates a component handler that wraps a text area.ComponentHandler<String>
ComponentManager. createTextField(TextFieldTag tag, boolean create)
Creates a component handler that wraps a text field.ComponentHandler<String>
ComponentManagerWrapper. createTextField(TextFieldTag tag, boolean create)
Creates a component handler that wraps a text field.ComponentHandler<Boolean>
ComponentManager. createToggleButton(ToggleButtonTag tag, boolean create)
Creates a toggle button component.ComponentHandler<Boolean>
ComponentManagerWrapper. createToggleButton(ToggleButtonTag tag, boolean create)
Creates a toggle button component.ComponentHandler<Object>
ComponentManager. createTree(TreeTag tag, boolean create)
Creates a tree component based on the information stored in the passed in tree tag.ComponentHandler<Object>
ComponentManagerWrapper. 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 currentComponentStore
.Methods in net.sf.jguiraffe.gui.builder.components that return types with arguments of type ComponentHandler Modifier and Type Method Description protected List<ComponentHandler<S>>
AbstractCompositeComponentHandler. getChildHandlers()
Returns a list with all child handlers managed by thisCompositeComponentHandler
.Map<String,ComponentHandler<?>>
ComponentGroup. getComponentHandlers(ComponentBuilderData data)
Returns a map with theComponentHandler
objects of the components this group refers to.Methods in net.sf.jguiraffe.gui.builder.components with parameters of type ComponentHandler Modifier and Type Method Description void
AbstractCompositeComponentHandler. addHandler(String name, ComponentHandler<S> handler)
Adds the specified childComponentHandler
to thisCompositeComponentHandler
.void
CompositeComponentHandler. addHandler(String name, ComponentHandler<S> handler)
Adds a simpleComponentHandler
object to this composite handler.FieldHandler
DefaultFieldHandlerFactory. createFieldHandler(InputComponentTag tag, ComponentHandler<?> componentHandler)
Creates a new field handler object for the specified input component tag.FieldHandler
FieldHandlerFactory. createFieldHandler(InputComponentTag tag, ComponentHandler<?> componentHandler)
Creates a new field handler object.void
ComponentBuilderData. storeComponentHandler(String name, ComponentHandler<?> handler)
Stores the given component handler in the currentComponentStore
. -
Uses of ComponentHandler in net.sf.jguiraffe.gui.builder.components.model
Subinterfaces of ComponentHandler in net.sf.jguiraffe.gui.builder.components.model Modifier and Type Interface 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 specializedComponentHandler
interface dealing with specific functionality provided by tables.interface
TextHandler
A specializedComponentHandler
implementation for text components.interface
TreeHandler
A specializedComponentHandler
interface for dealing with tree components.Classes in net.sf.jguiraffe.gui.builder.components.model that implement ComponentHandler Modifier and Type Class Description class
AbstractRadioButtonHandler<T>
A base class forComponentHandler
implementations for radio buttons.class
DefaultRadioButtonHandler
A concrete default implementation of aCompositeComponentHandler
for a group of radio buttons. -
Uses of ComponentHandler in net.sf.jguiraffe.gui.builder.components.tags
Methods in net.sf.jguiraffe.gui.builder.components.tags that return ComponentHandler Modifier and Type Method Description protected ComponentHandler<Object>
ComboBoxTag. createComponentHandler(ComponentManager manager, boolean create)
Creates the combo box 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 abstract ComponentHandler<?>
InputComponentTag. createComponentHandler(ComponentManager manager, boolean create)
Creates the component handler used by this input component.protected ComponentHandler<?>
ListBoxTag. createComponentHandler(ComponentManager manager, boolean create)
Creates the list box component.protected ComponentHandler<?>
PasswordFieldTag. createComponentHandler(ComponentManager manager, boolean create)
Creates theComponentHandler
for this task.protected ComponentHandler<?>
ProgressBarTag. createComponentHandler(ComponentManager manager, boolean create)
Creates a component handler for the represented component.protected ComponentHandler<?>
PushButtonTag. createComponentHandler(ComponentManager manager, boolean create)
Creates the component handler for the new input component.protected ComponentHandler<?>
SliderTag. createComponentHandler(ComponentManager manager, boolean create)
Creates aComponentHandler
for the managed slider component.protected ComponentHandler<?>
TabbedPaneTag. createComponentHandler(ComponentManager manager, boolean create)
Creates the component handler object for the represented component.protected ComponentHandler<?>
TextAreaTag. createComponentHandler(ComponentManager manager, boolean create)
Creates a component handler for the text area defined by this tag.protected ComponentHandler<?>
TextFieldTag. createComponentHandler(ComponentManager manager, boolean create)
Creates the component handler for this text field.protected ComponentHandler<?>
TreeTag. createComponentHandler(ComponentManager manager, boolean create)
Creates the component handler for the tree component.protected ComponentHandler<Boolean>
ButtonTag. createPushButton(ComponentManager manager, boolean create)
Creates the new command button component.protected ComponentHandler<Boolean>
CheckboxTag. createPushButton(ComponentManager manager, boolean create)
Creates the checkbox.protected abstract ComponentHandler<?>
PushButtonTag. createPushButton(ComponentManager manager, boolean create)
Creates the push button component of the correct type.protected ComponentHandler<?>
RadioButtonTag. createPushButton(ComponentManager manager, boolean create)
Creates the radio button.protected ComponentHandler<?>
StaticTextTag. createPushButton(ComponentManager manager, boolean create)
Creates the element.protected ComponentHandler<?>
ToggleButtonTag. createPushButton(ComponentManager manager, boolean create)
Creates the new toggle button component.ComponentHandler<?>
InputComponentTag. getComponentHandler()
Returns the component handler that was created by this tag.Methods in net.sf.jguiraffe.gui.builder.components.tags with parameters of type ComponentHandler Modifier and Type Method 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. -
Uses of ComponentHandler in net.sf.jguiraffe.gui.builder.components.tags.table
Methods in net.sf.jguiraffe.gui.builder.components.tags.table that return ComponentHandler Modifier and Type Method Description protected ComponentHandler<?>
TableTag. createComponentHandler(ComponentManager manager, boolean create)
Creates the table component. -
Uses of ComponentHandler in net.sf.jguiraffe.gui.builder.event
Methods in net.sf.jguiraffe.gui.builder.event that return ComponentHandler Modifier and Type Method 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.Methods in net.sf.jguiraffe.gui.builder.event with parameters of type ComponentHandler Modifier and Type Method 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.Constructors in net.sf.jguiraffe.gui.builder.event with parameters of type ComponentHandler Constructor Description FormActionEvent(Object source, ComponentHandler<?> handler, String name, String cmd)
Creates a new instance ofFormActionEvent
and initializes it.FormChangeEvent(Object source, ComponentHandler<?> handler, String name)
Creates a new instance ofFormChangeEvent
and initializes it.FormEvent(Object source, ComponentHandler<?> handler, String name)
Creates a new instance ofFormEvent
and initializes it.FormFocusEvent(Object source, ComponentHandler<?> handler, String name, FormFocusEvent.Type type)
Creates a new instance ofFormFocusEvent
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 ofFormMouseEvent
and initializes all its properties. -
Uses of ComponentHandler in net.sf.jguiraffe.gui.forms
Classes in net.sf.jguiraffe.gui.forms that implement ComponentHandler Modifier and Type Class Description class
ComponentHandlerImpl
A simple default implementation of theComponentHandler
interface.Methods in net.sf.jguiraffe.gui.forms that return ComponentHandler Modifier and Type Method Description ComponentHandler<?>
ComponentStore. findComponentHandler(String name)
Returns the component handler with the given name.ComponentHandler<?>
ComponentStoreImpl. findComponentHandler(String name)
Searches the component handler with the specified name.ComponentHandler<?>
DefaultFieldHandler. getComponentHandler()
Returns the component handler.ComponentHandler<?>
FieldHandler. getComponentHandler()
Returns theComponentHandler
used by thisFieldHandler
.Methods in net.sf.jguiraffe.gui.forms with parameters of type ComponentHandler Modifier and Type Method Description void
ComponentStore. addComponentHandler(String name, ComponentHandler<?> handler)
Adds the specified component handler to this component store under the given name.void
ComponentStoreImpl. addComponentHandler(String name, ComponentHandler<?> handler)
Adds a new component handler to this store.void
DefaultFieldHandler. setComponentHandler(ComponentHandler<?> componentHandler)
Sets the component handler.
-