Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.gui4j.component.factory
Class Gui4jAbstractButtonFactory  view Gui4jAbstractButtonFactory download Gui4jAbstractButtonFactory.java

java.lang.Object
  extended byorg.gui4j.core.Gui4jComponentFactory
      extended byorg.gui4j.component.factory.Gui4jJComponentFactory
          extended byorg.gui4j.component.factory.Gui4jAbstractButtonFactory
All Implemented Interfaces:
org.gui4j.exception.ErrorTags, java.io.Serializable
Direct Known Subclasses:
Gui4jButtonFactory, Gui4jCalendarButtonFactory, Gui4jCheckBoxFactory, Gui4jMenuItemFactory, Gui4jRadioButtonFactory

public abstract class Gui4jAbstractButtonFactory
extends Gui4jJComponentFactory

Class to represent Swing Gui4jAbstractButtonFactory


Nested Class Summary
 
Nested classes inherited from class org.gui4j.core.Gui4jComponentFactory
org.gui4j.core.Gui4jComponentFactory.SubElement
 
Field Summary
protected  java.lang.String ACTIONCOMMAND
           
private  java.lang.String GROUP
           
protected  java.lang.String ICON
           
protected  java.lang.String ICON_TEXT_GAP
           
private  java.lang.String MNEMONIC
           
private  java.lang.String SELECTED
           
protected  java.lang.String TEXT
           
 
Fields inherited from class org.gui4j.component.factory.Gui4jJComponentFactory
 
Fields inherited from class org.gui4j.core.Gui4jComponentFactory
CDATA, CONTEXT, DTD_IMPLIED, DTD_REQUIRED, ELEMENT_COMPONENT, ELEMENT_GUI4JREF, ENABLED, EVENT_AWARE, FIELD_Id, FIELD_Style, FIELDGui4jRef_Id, FOCUSABLE, IMPLIED, NOT_EVENT_AWARE, REQUIRED, VISIBLE
 
Fields inherited from interface org.gui4j.exception.ErrorTags
EXCEPTION_OCCURED, PROGRAMMING_ERROR, PROGRAMMING_ERROR_illegal_access_exception, PROGRAMMING_ERROR_instantiation_exception, PROGRAMMING_ERROR_invocation_target_exception, PROGRAMMING_ERROR_method_ambiguous, PROGRAMMING_ERROR_method_not_found, PROGRAMMING_ERROR_parameter_null, RESOURCE_ERROR, RESOURCE_ERROR_access_type_not_compatible, RESOURCE_ERROR_access_unexpected_character, RESOURCE_ERROR_access_unexpected_end, RESOURCE_ERROR_access_value_type_not_defined, RESOURCE_ERROR_alias_already_defined, RESOURCE_ERROR_alias_class_not_found, RESOURCE_ERROR_alias_not_defined_in_path, RESOURCE_ERROR_alias_undefined, RESOURCE_ERROR_attribute_editable_defined, RESOURCE_ERROR_attribute_listEditable_defined, RESOURCE_ERROR_attribute_not_defined, RESOURCE_ERROR_double_DataConversionException, RESOURCE_ERROR_element_at_row_col_already_defined, RESOURCE_ERROR_gui4jComponent_already_defined, RESOURCE_ERROR_gui4jComponent_already_registered, RESOURCE_ERROR_gui4jComponent_not_defined, RESOURCE_ERROR_gui4jComponent_not_registered, RESOURCE_ERROR_int_DataConversionException, RESOURCE_ERROR_invalid_column, RESOURCE_ERROR_invalid_defaultButton, RESOURCE_ERROR_invalid_keystroke, RESOURCE_ERROR_invalid_row, RESOURCE_ERROR_invalid_url, RESOURCE_ERROR_jdom_exception, RESOURCE_ERROR_labelform_column_conflict, RESOURCE_ERROR_placement_must_contain_gui4jComponent, RESOURCE_ERROR_property_getter_type_incompatible, RESOURCE_ERROR_style_defined_twice, RESOURCE_ERROR_style_not_defined, RESOURCE_ERROR_tableLayout_invalid_col_row_str, RESOURCE_ERROR_type_not_compatible, RESOURCE_ERROR_unexpected_gui4jStyle_end, RESOURCE_ERROR_unknown_param, RESOURCE_ERROR_unknown_param_in_include
 
Constructor Summary
Gui4jAbstractButtonFactory()
           
 
Method Summary
 void addToplevelAttributes(java.util.List attrList, org.gui4j.util.Filter filter)
           
protected  void defineProperties(org.gui4j.component.Gui4jJComponent gui4jJComponent, org.dom4j.LElement e)
           
protected  void definePropertyText(org.gui4j.core.Gui4jAbstractComponent gui4jJComponent, org.dom4j.LElement e)
           
protected  java.util.Map getParameterMap(org.gui4j.core.Gui4jAbstractComponent gui4jAbstractComponent)
           
protected  boolean isTextAttributeRequired()
           
 
Methods inherited from class org.gui4j.component.factory.Gui4jJComponentFactory
defineBy, defineGui4jJComponentBy
 
Methods inherited from class org.gui4j.core.Gui4jComponentFactory
attrList2Arr, checkErrorList, constructAttributeType, defineProperties, definePropertyEnabled, definePropertyVisible, getDoubleValue, getGui4j, getGui4jAccessInstance, getGui4jAccessInstance, getGui4jAccessInstance, getInnerElements, getIntValue, getIntValue, getMapValue, getName, setGui4j, setGui4jCallFactory, toString, writeDTD, writeElement, writeToplevelElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TEXT

protected final java.lang.String TEXT
See Also:
Constant Field Values

ICON

protected final java.lang.String ICON
See Also:
Constant Field Values

ICON_TEXT_GAP

protected final java.lang.String ICON_TEXT_GAP
See Also:
Constant Field Values

ACTIONCOMMAND

protected final java.lang.String ACTIONCOMMAND
See Also:
Constant Field Values

GROUP

private final java.lang.String GROUP
See Also:
Constant Field Values

MNEMONIC

private final java.lang.String MNEMONIC
See Also:
Constant Field Values

SELECTED

private final java.lang.String SELECTED
See Also:
Constant Field Values
Constructor Detail

Gui4jAbstractButtonFactory

public Gui4jAbstractButtonFactory()
Method Detail

addToplevelAttributes

public void addToplevelAttributes(java.util.List attrList,
                                  org.gui4j.util.Filter filter)
Overrides:
addToplevelAttributes in class Gui4jJComponentFactory

isTextAttributeRequired

protected boolean isTextAttributeRequired()

definePropertyText

protected void definePropertyText(org.gui4j.core.Gui4jAbstractComponent gui4jJComponent,
                                  org.dom4j.LElement e)

defineProperties

protected void defineProperties(org.gui4j.component.Gui4jJComponent gui4jJComponent,
                                org.dom4j.LElement e)
Overrides:
defineProperties in class Gui4jJComponentFactory

getParameterMap

protected java.util.Map getParameterMap(org.gui4j.core.Gui4jAbstractComponent gui4jAbstractComponent)