Uses of Class
net.sf.jguiraffe.gui.builder.components.FormBuilderException
-
Packages that use FormBuilderException 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.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. -
-
Uses of FormBuilderException in net.sf.jguiraffe.gui.builder.action
Subclasses of FormBuilderException in net.sf.jguiraffe.gui.builder.action Modifier and Type Class Description class
FormActionException
An exception class indicating a problem with the form action framework. -
Uses of FormBuilderException in net.sf.jguiraffe.gui.builder.action.tags
Methods in net.sf.jguiraffe.gui.builder.action.tags that throw FormBuilderException Modifier and Type Method 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
ActionControlTag. process()
Executes this tag.protected void
ActionDataTag. process()
Executes this tag.protected void
ActionTag. process()
Executes this task.protected void
EventListenerTag. process()
Executes this tag.protected void
EventListenerTypeTag. process()
Executes this tag.protected void
MenuBarTag. process()
Executes this tag.protected void
MenuTag. process()
Executes this tag.protected void
SeparatorTag. process()
Executes this tag.protected void
AbstractActionDataTag. processBeforeBody()
Performs processing before the body of this tag gets executed.protected void
EventListenerTag. processBeforeBody()
Performs processing before the tag's body is evaluated.protected void
MenuBarTag. processBeforeBody()
Executes this tag before its body was processed.protected void
MenuTag. processBeforeBody()
Executes this tag before its body is processed.protected abstract boolean
EventListenerTag. registerListener(EventListener listener)
Registers the event listener.protected boolean
FormEventListenerTag. registerListener(EventListener listener)
Registers the specified event listener. -
Uses of FormBuilderException in net.sf.jguiraffe.gui.builder.components
Methods in net.sf.jguiraffe.gui.builder.components that throw FormBuilderException Modifier and Type Method Description void
ComponentBuilderCallBack. callBack(ComponentBuilderData builderData, Object params)
Executes the call back.Object
ComponentManager. createBorderLayout(BorderLayoutTag tag)
Creates a border layout object whose parameters are obtained form the specified tag.Object
ComponentManagerWrapper. createBorderLayout(BorderLayoutTag tag)
Creates a border layout object whose parameters are obtained form the specified tag.ComponentHandler<Boolean>
ComponentManager. createButton(ButtonTag tag, boolean create)
Creates a button component.ComponentHandler<Boolean>
ComponentManagerWrapper. createButton(ButtonTag tag, boolean create)
Creates a button component.Object
ComponentManager. createButtonLayout(ButtonLayoutTag tag)
Creates a button layout object whose parameters are obtained from the specified tag.Object
ComponentManagerWrapper. createButtonLayout(ButtonLayoutTag tag)
Creates a button layout object whose parameters are obtained from the specified tag.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.Object
ComponentManager. createDesktopPanel(DesktopPanelTag tag, boolean create)
Creates a desktop panel whose parameters are obtained from the specified tag.Object
ComponentManagerWrapper. createDesktopPanel(DesktopPanelTag tag, boolean create)
Creates a desktop panel whose parameters are obtained from the specified tag.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.Object
ComponentManager. createFont(FontTag tag)
Creates a font object from the data specified by the givenFontTag
.Object
ComponentManagerWrapper. createFont(FontTag tag)
Creates a font object from the data specified by the givenFontTag
.static ComponentGroup
ComponentGroup. createGroup(org.apache.commons.jelly.JellyContext context, String name)
Creates a newComponentGroup
instance and stores it in the specified context.Object
ComponentManager. createIcon(Locator locator)
Creates an icon object with the data obtained from the specifiedLocator
Object
ComponentManagerWrapper. createIcon(Locator locator)
Creates an icon object with the data obtained from the specifiedLocator
Object
ComponentManager. createLabel(LabelTag tag, boolean create)
Creates a label object.Object
ComponentManagerWrapper. createLabel(LabelTag tag, boolean create)
Creates a label object.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.Object
ComponentManager. createPanel(PanelTag tag, boolean create)
Creates a panel whose parameters are obtained from the specified tag.Object
ComponentManagerWrapper. createPanel(PanelTag tag, boolean create)
Creates a panel whose parameters are obtained from the specified tag.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.Object
ComponentManager. createPercentLayout(PercentLayoutTag tag)
Creates a percent layout object whose parameters are obtained from the specified tag.Object
ComponentManagerWrapper. createPercentLayout(PercentLayoutTag tag)
Creates a percent layout object whose parameters are obtained from the specified tag.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.Object
ComponentManager. createRadioGroup(Map<String,Object> radioButtons)
Creates a radio group which contains the radio buttons stored in the passed in map.Object
ComponentManagerWrapper. createRadioGroup(Map<String,Object> radioButtons)
Creates a radio group which contains the radio buttons stored in the passed in map.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.Object
ComponentManager. createSplitter(SplitterTag tag, boolean create)
Creates a splitter whose parameters are obtained from the specified tag.Object
ComponentManagerWrapper. createSplitter(SplitterTag tag, boolean create)
Creates a splitter whose parameters are obtained from the specified tag.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.void
ComponentGroup. enableGroup(ComponentBuilderData data, boolean enabled)
Changes the enabled state of thisComponentGroup
.Map<String,ComponentHandler<?>>
ComponentGroup. getComponentHandlers(ComponentBuilderData data)
Returns a map with theComponentHandler
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 defaultOrientation
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
ComponentManager. linkLabel(Object label, Object component, String text)
Associates a link with another component.void
ComponentManagerWrapper. 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. -
Uses of FormBuilderException in net.sf.jguiraffe.gui.builder.components.tags
Methods in net.sf.jguiraffe.gui.builder.components.tags that throw FormBuilderException Modifier and Type Method 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 theComponentHandler
of a component to aCompositeComponentHandler
.protected static void
ComponentHandlerTag. addGroupToCompositeHandler(ComponentBuilderData builderData, CompositeComponentHandler<?,?> handler, ComponentGroup group)
Helper method for adding theComponentHandler
objects for all components in the specified group to aCompositeComponentHandler
.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 correspondingNumberWithUnit
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 Object
ContainerTag. createComponent(ComponentManager manager, boolean create)
Creates and initializes the container.protected Object
LabelTag. createComponent(ComponentManager manager, boolean create)
Creates the label component.protected abstract Object
SimpleComponentTag. createComponent(ComponentManager manager, boolean create)
Creates a specific component.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 Object
BorderConstraintsTag. createConstraints(ComponentManager manager)
Creates the constraints object.protected abstract Object
ConstraintsTag. createConstraints(ComponentManager manager)
Creates the constraints object.protected Object
PercentConstraintsTag. createConstraints(ComponentManager manager)
Creates the constraints object.protected abstract Object
ContainerTag. createContainer(ComponentManager manager, boolean create, Collection<Object[]> components)
Creates the container widget.protected Object
DesktopPanelTag. 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
SplitterTag. createContainer(ComponentManager manager, boolean create, Collection<Object[]> components)
Creates the container component.protected Object
TabTag. createContainer(ComponentManager manager, boolean create, Collection<Object[]> components)
Creates the container object.protected FieldHandler
InputComponentTag. createFieldHandler(ComponentHandler<?> componentHandler)
Creates a field handler object for the input component.protected Object
FontTag. createFont(ComponentManager manager)
Calls theComponentManager
to create the font represented by this tag.protected Object
IconTag. createIcon()
Creates the icon.protected Object
BorderLayoutTag. createLayout(ComponentManager manager)
Creates the border layout object.protected Object
ButtonLayoutTag. createLayout(ComponentManager manager)
Creates the layout object.protected abstract Object
LayoutTag. createLayout(ComponentManager manager)
Creates the specific layout object.protected Object
PercentLayoutTag. createLayout(ComponentManager manager)
Creates the percent layout object.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.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 theListModel
for the givenListModelSupport
object.protected void
ComponentBaseTag. process()
Performs processing of some default attributes.protected void
ConstraintsTag. process()
Executes this tag.protected void
FontTag. process()
Processes this tag.protected abstract void
FormBaseTag. process()
Executes this tag.protected void
IconTag. process()
Executes this tag.protected void
InputComponentTag. process()
Executes this tag.protected void
LayoutTag. process()
Executes this tag.protected void
LocalizedTag. process()
Executes this tag.protected void
PropertiesTag. process()
Processes this tag.protected void
PropertyTag. process()
Processes this tag.protected void
RadioGroupTag. process()
Executes this tag.protected void
SimpleComponentTag. process()
Executes this tag.protected void
TabbedPaneTag. process()
Processes this tag.protected void
TreeIconTag. process()
Executes this tag.protected void
ButtonTag. processBeforeBody()
Performs processing before this tag's body is evaluated.protected void
ComponentGroupTag. processBeforeBody()
Executes this tag before its body is processed.protected void
ContainerTag. processBeforeBody()
Callback before processing of the tag's body.protected void
FontTag. processBeforeBody()
Performs processing before this tag's body is evaluated.protected void
FormBaseTag. processBeforeBody()
Performs processing of this tag before its body is evaluated.protected void
InputComponentTag. processBeforeBody()
Performs steps before evaluation of this tag's body.protected void
PropertiesTag. processBeforeBody()
Processes this tag before its body gets executed.protected void
RadioButtonTag. processBeforeBody()
Performs processing before the execution of the tag body.protected void
RadioGroupTag. processBeforeBody()
Performs processing before the tag's body is evaluated.protected void
SimpleComponentTag. processBeforeBody()
Callback before processing of the tag's body.protected void
SliderTag. processBeforeBody()
Performs processing before evaluation of the tag body.protected void
SplitterTag. processBeforeBody()
Performs processing before the evaluation of this tag's body.protected void
TreeTag. processBeforeBody()
Performs pre-processing before the body of this tag is executed.protected void
PushButtonTag. validateTag()
Validates the attributes of this tag.protected void
StaticTextTag. validateTag()
Performs a validation for this tag. -
Uses of FormBuilderException in net.sf.jguiraffe.gui.builder.components.tags.table
Methods in net.sf.jguiraffe.gui.builder.components.tags.table that throw FormBuilderException Modifier and Type Method 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 theTableColumnWidthController
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 theTableColumnRecalibrator
.TableColumnWidthCalculator
TableFormController. getColumnWidthCalculator()
Convenience method for querying theTableColumnWidthCalculator
.TableColumnWidthController
TableFormController. getColumnWidthController()
Returns theTableColumnWidthController
for the represented table.TableColumnWidthController
TableTag. getColumnWidthController()
Returns theTableColumnWidthController
for the columns defined for this table.static TableColumnWidthController
TableColumnWidthController. newInstance(TableTag tt)
Creates a new instance ofTableColumnWidthController
and initializes it with the information provided by the givenTableTag
.protected void
TableTag. process()
Processes this tag.protected void
ColumnComponentTag. processBeforeBody()
Performs processing before this tag's body is evaluated.protected void
TableColumnTag. processBeforeBody()
Performs processing before the tag's body is evaluated.protected void
TableTag. processBeforeBody()
Processes this tag before the body is executed. -
Uses of FormBuilderException in net.sf.jguiraffe.gui.builder.enablers
Methods in net.sf.jguiraffe.gui.builder.enablers that throw FormBuilderException Modifier and Type Method Description void
ActionEnabler. 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
ChainElementEnabler. setEnabledState(ComponentBuilderData compData, boolean state)
Performs the change of the enabled state.void
ComponentEnabler. 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 thisElementEnabler
is responsible for.void
InverseEnabler. setEnabledState(ComponentBuilderData compData, boolean state)
Performs the change of the enabled state.void
NullEnabler. setEnabledState(ComponentBuilderData compData, boolean state)
Changes the enabled state of the element thisElementEnabler
is responsible for. -
Uses of FormBuilderException in net.sf.jguiraffe.gui.builder.window
Subclasses of FormBuilderException in net.sf.jguiraffe.gui.builder.window Modifier and Type Class Description class
WindowBuilderException
A specialized exception class used for reporting error conditions related to the window builder. -
Uses of FormBuilderException in net.sf.jguiraffe.gui.builder.window.tags
Methods in net.sf.jguiraffe.gui.builder.window.tags that throw FormBuilderException Modifier and Type Method 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.
-