Package | Description |
---|---|
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.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.enablers |
A package with classes for enabling or disabling other elements.
|
net.sf.jguiraffe.gui.builder.window |
The interfaces and classes in this package support the creation of several types
of windows in builder scripts.
|
net.sf.jguiraffe.gui.builder.window.tags |
A package with tag handler classes for creating window components.
|
net.sf.jguiraffe.gui.platform.swing.builder.components |
A package with Swing-specific
ComponentHandler implementations. |
Modifier and Type | Class and Description |
---|---|
class |
FormActionException
An exception class indicating a problem with the form action framework.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
ToolbarTag.createComponent(ComponentManager manager,
boolean create)
Creates the toolbar component.
|
protected EventListener |
EventListenerTag.createEventListener()
Creates an event listener object for all listener types that have been
added to this tag.
|
protected EventListener |
EventListenerTag.createEventListener(Class<?>[] listenerClasses)
Creates an event listener proxy for all event listener classes in the
specified array.
|
protected FormAction |
EventListenerTag.fetchAction()
Tries to obtain the action that is to be invoked by the event listener.
|
protected void |
SeparatorTag.process()
Executes this tag.
|
protected void |
MenuTag.process()
Executes this tag.
|
protected void |
MenuBarTag.process()
Executes this tag.
|
protected void |
EventListenerTypeTag.process()
Executes this tag.
|
protected void |
EventListenerTag.process()
Executes this tag.
|
protected void |
ActionTag.process()
Executes this task.
|
protected void |
ActionDataTag.process()
Executes this tag.
|
protected void |
ActionControlTag.process()
Executes this tag.
|
protected void |
MenuTag.processBeforeBody()
Executes this tag before its body is processed.
|
protected void |
MenuBarTag.processBeforeBody()
Executes this tag before its body was processed.
|
protected void |
EventListenerTag.processBeforeBody()
Performs processing before the tag's body is evaluated.
|
protected void |
AbstractActionDataTag.processBeforeBody()
Performs processing before the body of this tag gets executed.
|
protected boolean |
FormEventListenerTag.registerListener(EventListener listener)
Registers the specified event listener.
|
protected abstract boolean |
EventListenerTag.registerListener(EventListener listener)
Registers the event listener.
|
Modifier and Type | Method and Description |
---|---|
void |
ComponentBuilderCallBack.callBack(ComponentBuilderData builderData,
Object params)
Executes the call back.
|
Object |
ComponentManagerWrapper.createBorderLayout(BorderLayoutTag tag)
Creates a border layout object whose parameters are obtained form the
specified tag.
|
Object |
ComponentManager.createBorderLayout(BorderLayoutTag tag)
Creates a border layout object whose parameters are obtained form the
specified tag.
|
ComponentHandler<Boolean> |
ComponentManagerWrapper.createButton(ButtonTag tag,
boolean create)
Creates a button component.
|
ComponentHandler<Boolean> |
ComponentManager.createButton(ButtonTag tag,
boolean create)
Creates a button component.
|
Object |
ComponentManagerWrapper.createButtonLayout(ButtonLayoutTag tag)
Creates a button layout object whose parameters are obtained from the
specified tag.
|
Object |
ComponentManager.createButtonLayout(ButtonLayoutTag tag)
Creates a button layout object whose parameters are obtained from the
specified tag.
|
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.
|
Object |
ComponentManagerWrapper.createDesktopPanel(DesktopPanelTag tag,
boolean create)
Creates a desktop panel whose parameters are obtained from the specified
tag.
|
Object |
ComponentManager.createDesktopPanel(DesktopPanelTag tag,
boolean create)
Creates a desktop panel whose parameters are obtained from the specified
tag.
|
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.
|
Object |
ComponentManagerWrapper.createFont(FontTag tag)
Creates a font object from the data specified by the given
FontTag . |
Object |
ComponentManager.createFont(FontTag tag)
Creates a font object from the data specified by the given
FontTag . |
static ComponentGroup |
ComponentGroup.createGroup(org.apache.commons.jelly.JellyContext context,
String name)
Creates a new
ComponentGroup instance and stores it in the
specified context. |
Object |
ComponentManagerWrapper.createIcon(Locator locator)
Creates an icon object with the data obtained from the specified
Locator |
Object |
ComponentManager.createIcon(Locator locator)
Creates an icon object with the data obtained from the specified
Locator |
Object |
ComponentManagerWrapper.createLabel(LabelTag tag,
boolean create)
Creates a label object.
|
Object |
ComponentManager.createLabel(LabelTag tag,
boolean create)
Creates a label object.
|
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.
|
Object |
ComponentManagerWrapper.createPanel(PanelTag tag,
boolean create)
Creates a panel whose parameters are obtained from the specified tag.
|
Object |
ComponentManager.createPanel(PanelTag tag,
boolean create)
Creates a panel whose parameters are obtained from the specified tag.
|
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. |
Object |
ComponentManagerWrapper.createPercentLayout(PercentLayoutTag tag)
Creates a percent layout object whose parameters are obtained from the
specified tag.
|
Object |
ComponentManager.createPercentLayout(PercentLayoutTag tag)
Creates a percent layout object whose parameters are obtained from the
specified tag.
|
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.
|
Object |
ComponentManagerWrapper.createRadioGroup(Map<String,Object> radioButtons)
Creates a radio group which contains the radio buttons stored in the
passed in map.
|
Object |
ComponentManager.createRadioGroup(Map<String,Object> radioButtons)
Creates a radio group which contains the radio buttons stored in the
passed in map.
|
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.
|
Object |
ComponentManagerWrapper.createSplitter(SplitterTag tag,
boolean create)
Creates a splitter whose parameters are obtained from the specified tag.
|
Object |
ComponentManager.createSplitter(SplitterTag tag,
boolean create)
Creates a splitter whose parameters are obtained from the specified tag.
|
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.
|
void |
ComponentGroup.enableGroup(ComponentBuilderData data,
boolean enabled)
Changes the enabled state of this
ComponentGroup . |
Map<String,ComponentHandler<?>> |
ComponentGroup.getComponentHandlers(ComponentBuilderData data)
Returns a map with the
ComponentHandler objects of the components
this group refers to. |
Map<String,Object> |
ComponentGroup.getComponents(ComponentBuilderData data)
Returns a map with all components this group refers to.
|
static Orientation |
Orientation.getOrientation(String value)
Transforms the given string value into an instance of this enumeration
class.
|
static Orientation |
Orientation.getOrientation(String value,
Orientation defaultOrientation)
Transforms the given string value into an instance of this enumeration
class, using the default
Orientation if the string value is
null. |
static Color |
ColorHelper.getPredefinedColor(String name)
Returns the predefined color with the given name.
|
void |
ComponentBuilderData.invokeCallBacks()
Invokes all call backs that are registered at this object for the current
form context.
|
void |
ComponentManagerWrapper.linkLabel(Object label,
Object component,
String text)
Associates a link with another component.
|
void |
ComponentManager.linkLabel(Object label,
Object component,
String text)
Associates a link with another component.
|
ComponentStore |
ComponentBuilderData.popComponentStore()
Removes a component store from this object.
|
Form |
ComponentBuilderData.popFormContext()
Removes the outer most form context.
|
Form |
ComponentBuilderData.popFormContext(Object source)
Removes the outer most form context passing in information about the
responsible source.
|
static Color |
ColorHelper.resolveColor(String c)
The main method for resolving a color definition.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ContainerTag.addComponents(ComponentManager manager,
Object container,
Collection<Object[]> comps)
Adds the components of this container to the container widget.
|
protected static <S> void |
ComponentHandlerTag.addComponentToCompositeHandler(ComponentBuilderData builderData,
CompositeComponentHandler<?,S> handler,
String compName)
Helper method for adding the
ComponentHandler of a component to a
CompositeComponentHandler . |
protected static void |
ComponentHandlerTag.addGroupToCompositeHandler(ComponentBuilderData builderData,
CompositeComponentHandler<?,?> handler,
ComponentGroup group)
Helper method for adding the
ComponentHandler objects for all
components in the specified group to a CompositeComponentHandler . |
protected void |
InputComponentTag.addToGroups(String groupNames)
Adds this component's name to all groups in the given list.
|
protected static NumberWithUnit |
FormBaseTag.convertToNumberWithUnit(String s)
Converts a string attribute into the corresponding number with unit.
|
protected static NumberWithUnit |
FormBaseTag.convertToNumberWithUnit(String s,
NumberWithUnit defValue)
Converts a string attribute into the corresponding
NumberWithUnit
returning the default value if the attribute has not been set. |
protected BorderLayout |
BorderLayoutTag.createBorderLayout()
Creates the border layout object based on this tag's attributes.
|
protected ButtonLayout |
ButtonLayoutTag.createButtonLayout()
Creates the button layout object.
|
protected abstract Object |
SimpleComponentTag.createComponent(ComponentManager manager,
boolean create)
Creates a specific component.
|
protected Object |
LabelTag.createComponent(ComponentManager manager,
boolean create)
Creates the label component.
|
protected Object |
ContainerTag.createComponent(ComponentManager manager,
boolean create)
Creates and initializes the container.
|
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 Object |
PercentConstraintsTag.createConstraints(ComponentManager manager)
Creates the constraints object.
|
protected abstract Object |
ConstraintsTag.createConstraints(ComponentManager manager)
Creates the constraints object.
|
protected Object |
BorderConstraintsTag.createConstraints(ComponentManager manager)
Creates the constraints object.
|
protected Object |
TabTag.createContainer(ComponentManager manager,
boolean create,
Collection<Object[]> components)
Creates the container object.
|
protected Object |
SplitterTag.createContainer(ComponentManager manager,
boolean create,
Collection<Object[]> components)
Creates the container component.
|
protected Object |
PanelTag.createContainer(ComponentManager manager,
boolean create,
Collection<Object[]> components)
Creates the concrete container widget.
|
protected Object |
DesktopPanelTag.createContainer(ComponentManager manager,
boolean create,
Collection<Object[]> components)
Creates the container component.
|
protected abstract Object |
ContainerTag.createContainer(ComponentManager manager,
boolean create,
Collection<Object[]> components)
Creates the container widget.
|
protected FieldHandler |
InputComponentTag.createFieldHandler(ComponentHandler<?> componentHandler)
Creates a field handler object for the input component.
|
protected Object |
FontTag.createFont(ComponentManager manager)
Calls the
ComponentManager to create the font represented by this
tag. |
protected Object |
IconTag.createIcon()
Creates the icon.
|
protected Object |
PercentLayoutTag.createLayout(ComponentManager manager)
Creates the percent layout object.
|
protected abstract Object |
LayoutTag.createLayout(ComponentManager manager)
Creates the specific layout object.
|
protected Object |
ButtonLayoutTag.createLayout(ComponentManager manager)
Creates the layout object.
|
protected Object |
BorderLayoutTag.createLayout(ComponentManager manager)
Creates the border layout object.
|
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.
|
Class<?> |
InputComponentTag.getComponentType()
Returns the type of the field handler that is associated with this
component.
|
protected void |
InputComponentTag.handleGroups()
Handles the assignment of this component to component groups.
|
static void |
ListModelUtils.initializeListModel(ListModelSupport modelSupport)
Initializes the
ListModel for the given ListModelSupport
object. |
protected void |
TreeIconTag.process()
Executes this tag.
|
protected void |
TabbedPaneTag.process()
Processes this tag.
|
protected void |
SimpleComponentTag.process()
Executes this tag.
|
protected void |
RadioGroupTag.process()
Executes this tag.
|
protected void |
PropertyTag.process()
Processes this tag.
|
protected void |
PropertiesTag.process()
Processes this tag.
|
protected void |
LocalizedTag.process()
Executes this tag.
|
protected void |
LayoutTag.process()
Executes this tag.
|
protected void |
InputComponentTag.process()
Executes this tag.
|
protected void |
IconTag.process()
Executes this tag.
|
protected abstract void |
FormBaseTag.process()
Executes this tag.
|
protected void |
FontTag.process()
Processes this tag.
|
protected void |
ConstraintsTag.process()
Executes this tag.
|
protected void |
ComponentBaseTag.process()
Performs processing of some default attributes.
|
protected void |
TreeTag.processBeforeBody()
Performs pre-processing before the body of this tag is executed.
|
protected void |
SplitterTag.processBeforeBody()
Performs processing before the evaluation of this tag's body.
|
protected void |
SliderTag.processBeforeBody()
Performs processing before evaluation of the tag body.
|
protected void |
SimpleComponentTag.processBeforeBody()
Callback before processing of the tag's body.
|
protected void |
RadioGroupTag.processBeforeBody()
Performs processing before the tag's body is evaluated.
|
protected void |
RadioButtonTag.processBeforeBody()
Performs processing before the execution of the tag body.
|
protected void |
PropertiesTag.processBeforeBody()
Processes this tag before its body gets executed.
|
protected void |
InputComponentTag.processBeforeBody()
Performs steps before evaluation of this tag's body.
|
protected void |
FormBaseTag.processBeforeBody()
Performs processing of this tag before its body is evaluated.
|
protected void |
FontTag.processBeforeBody()
Performs processing before this tag's body is evaluated.
|
protected void |
ContainerTag.processBeforeBody()
Callback before processing of the tag's body.
|
protected void |
ComponentGroupTag.processBeforeBody()
Executes this tag before its body is processed.
|
protected void |
ButtonTag.processBeforeBody()
Performs processing before this tag's body is evaluated.
|
protected void |
StaticTextTag.validateTag()
Performs a validation for this tag.
|
protected void |
PushButtonTag.validateTag()
Validates the attributes of this tag.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ColumnComponentTag.addComponents(ComponentManager manager,
Object container,
Collection<Object[]> comps)
Adds the components defined by nested tags to this container tag.
|
int |
TableFormController.calculateFixedColumnWidths(UnitSizeHandler sizeHandler,
Object container)
Determines the fixed size columns of the represented table and
initializes their widths in the
TableColumnWidthController of the
current table. |
protected ComponentHandler<?> |
TableTag.createComponentHandler(ComponentManager manager,
boolean create)
Creates the table component.
|
protected Object |
ColumnComponentTag.createContainer(ComponentManager manager,
boolean create,
Collection<Object[]> components)
Creates the container represented by this tag.
|
TableColumnRecalibrator |
TableFormController.getColumnRecalibrator()
Convenience method for querying the
TableColumnRecalibrator . |
TableColumnWidthCalculator |
TableFormController.getColumnWidthCalculator()
Convenience method for querying the
TableColumnWidthCalculator . |
TableColumnWidthController |
TableTag.getColumnWidthController()
Returns the
TableColumnWidthController for the columns defined
for this table. |
TableColumnWidthController |
TableFormController.getColumnWidthController()
Returns the
TableColumnWidthController for the represented table. |
static TableColumnWidthController |
TableColumnWidthController.newInstance(TableTag tt)
Creates a new instance of
TableColumnWidthController and
initializes it with the information provided by the given TableTag . |
protected void |
TableTag.process()
Processes this tag.
|
protected void |
TableTag.processBeforeBody()
Processes this tag before the body is executed.
|
protected void |
TableColumnTag.processBeforeBody()
Performs processing before the tag's body is evaluated.
|
protected void |
ColumnComponentTag.processBeforeBody()
Performs processing before this tag's body is evaluated.
|
Modifier and Type | Method and Description |
---|---|
void |
NullEnabler.setEnabledState(ComponentBuilderData compData,
boolean state)
Changes the enabled state of the element this
ElementEnabler is
responsible for. |
void |
InverseEnabler.setEnabledState(ComponentBuilderData compData,
boolean state)
Performs the change of the enabled state.
|
void |
ElementEnabler.setEnabledState(ComponentBuilderData compData,
boolean state)
Changes the enabled state of the element this
ElementEnabler is
responsible for. |
void |
ComponentEnabler.setEnabledState(ComponentBuilderData compData,
boolean state)
Performs the change of the enabled state.
|
void |
ChainElementEnabler.setEnabledState(ComponentBuilderData compData,
boolean state)
Performs the change of the enabled state.
|
void |
ActionGroupEnabler.setEnabledState(ComponentBuilderData compData,
boolean state)
Performs the change of the enabled state.
|
void |
ActionEnabler.setEnabledState(ComponentBuilderData compData,
boolean state)
Performs the change of the enabled state.
|
Modifier and Type | Class and Description |
---|---|
class |
WindowBuilderException
A specialized exception class used for reporting error conditions related to
the window builder.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
WindowBaseTag.createContainer(ComponentManager manager,
boolean create,
Collection<Object[]> components)
Creates the window container.
|
protected void |
WindowBaseTag.process()
Executes this tag.
|
protected boolean |
WindowListenerTag.registerListener(EventListener listener)
Registers the event listener.
|
Modifier and Type | Method and Description |
---|---|
Object |
SwingComponentManager.createBorderLayout(BorderLayoutTag tag)
Creates a border layout with the information from the passed in tag.
|
ComponentHandler<Boolean> |
SwingComponentManager.createButton(ButtonTag tag,
boolean create)
Creates a component handler for a command button, which is specified by
the given tag.
|
Object |
SwingComponentManager.createButtonLayout(ButtonLayoutTag tag)
Creates a button layout with the information from the passed in tag.
|
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.
|
Object |
SwingComponentManager.createDesktopPanel(DesktopPanelTag tag,
boolean create)
Creates a desktop panel with the information obtained from the passed in
tag.
|
Object |
SwingComponentManager.createFont(FontTag tag)
Creates a font based on the data provided by the given
FontTag . |
Object |
SwingComponentManager.createIcon(Locator locator)
Creates an icon with the information obtained from the given locator.
|
ComponentHandler<Object> |
SwingComponentManager.createListBox(ListBoxTag tag,
boolean create)
Creates a component handler for a list, which is specified by the given
tag.
|
Object |
SwingComponentManager.createPanel(PanelTag tag,
boolean create)
Creates a panel with the information obtained from the passed in 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.
|
Object |
SwingComponentManager.createPercentLayout(PercentLayoutTag tag)
Creates a percent layout with the information from the passed in 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.
|
ButtonGroup |
SwingComponentManager.createRadioGroup(Map<String,Object> radios)
Creates a radio group, which contains the specified radio buttons.
|
ComponentHandler<Integer> |
SwingComponentManager.createSlider(SliderTag tag,
boolean create)
Creates a component handler for a slider, which is specified by the given
tag.
|
Object |
SwingComponentManager.createSplitter(SplitterTag tag,
boolean create)
Creates a splitter component from the information contained in the passed
in 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.
|
protected void |
SwingComponentManager.initTableColumnWidths(TableTag tag,
JTable table)
Initializes the widths of the columns of the specified table.
|
void |
SwingComponentManager.linkLabel(Object label,
Object component,
String text)
Associates a label with another component.
|
protected void |
SwingComponentManager.registerTableListener(TableTag tag,
net.sf.jguiraffe.gui.platform.swing.builder.components.SwingTableComponentHandler handler)
Registers a specialized listener for resizing table columns if required.
|
Copyright © 2016 The JGUIraffe Team. All rights reserved.