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

Quick Search    Search Deep

org.gui4j.component
Class Gui4jJComponent  view Gui4jJComponent download Gui4jJComponent.java

java.lang.Object
  extended byorg.gui4j.core.Gui4jAbstractComponent
      extended byorg.gui4j.component.Gui4jAbstractPopupComponent
          extended byorg.gui4j.component.Gui4jJComponent
All Implemented Interfaces:
org.gui4j.exception.ErrorTags, org.gui4j.core.Gui4jComponent, java.io.Serializable
Direct Known Subclasses:
Gui4jAbstractButton, Gui4jBorderLayout, Gui4jBox, Gui4jCardLayout, Gui4jCellTable, Gui4jComboBox, Gui4jEdit, Gui4jFlowLayout, Gui4jGridBagLayout, Gui4jGridLayout, Gui4jLabel, Gui4jLabelForm, Gui4jList, Gui4jMatrix, Gui4jMenuBar, Gui4jPanel, Gui4jPopupMenu, Gui4jScrollPane, Gui4jSeparator, Gui4jSplitPane, Gui4jSwitch, Gui4jTabbedPane, Gui4jTable, Gui4jTableLayout, Gui4jTextArea, Gui4jTree

public abstract class Gui4jJComponent
extends Gui4jAbstractPopupComponent
implements org.gui4j.exception.ErrorTags


Field Summary
private  java.util.Set mFocusTraversalKeysBackward
           
private  java.util.Set mFocusTraversalKeysForward
           
protected  org.gui4j.core.Gui4jCall mGrabFocus
           
private  boolean mHandleReadOnly
           
private  java.lang.String mKeyMapId
           
 
Fields inherited from class org.gui4j.component.Gui4jAbstractPopupComponent
 
Fields inherited from class org.gui4j.core.Gui4jAbstractComponent
mContext, mPopupMenuInPath, STORAGE_POPUP_CONTEXT, STORAGE_POPUP_ORIGIN
 
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
Gui4jJComponent(org.gui4j.core.Gui4jComponentContainer gui4jComponentContainer, java.lang.Class swingClass, java.lang.String id)
           
 
Method Summary
protected  org.gui4j.core.Gui4jComponentInstance createComponentInstance(org.gui4j.core.Gui4jSwingContainer gui4jSwingContainer, org.gui4j.Gui4jCallBase gui4jCallBase, org.gui4j.core.Gui4jQualifiedComponent gui4jComponentInPath)
          Method createComponentInstance
protected  boolean handleReadOnly()
           
 void setBorder(javax.swing.JComponent jComponent, javax.swing.border.Border border)
          Sets the border.
 void setFocusTraversalKeysBackward(java.util.Set traversalKeys)
           
 void setFocusTraversalKeysForward(java.util.Set traversalKeys)
           
 void setGrabFocus(org.gui4j.core.Gui4jCall grabFocus)
          Sets the grabFocus.
 void setHandleReadOnly(boolean handleReadOnly)
           
 void setKeyMapId(java.lang.String id)
           
 void setOpaque(javax.swing.JComponent jComponent, boolean opaque)
           
protected  void setProperties(org.gui4j.core.Gui4jComponentInstance gui4jComponentInstance)
          Initializes attributes for the generated swing instance
 void setTooltip(javax.swing.JComponent jComponent, java.lang.String text)
          Sets the tooltip.
 
Methods inherited from class org.gui4j.component.Gui4jAbstractPopupComponent
showPopupMenu
 
Methods inherited from class org.gui4j.core.Gui4jAbstractComponent
applyInitialProperties, createGui4jComponentInstance, createMouseListener, definePropertyGetter, definePropertySetter, definePropertySetter, dispose, evaluateContext, getComponentClass, getConfigurationSource, getGui4j, getGui4jComponentContainer, getGui4jComponentProperties, getId, getPopupContext, getPopupLocation, handleException, handleSuccess, refreshComponent, registerEvents, setApply, setBackground, setContext, setCursor, setEnabled, setFocusable, setFont, setForeground, setOnClick, setOnInit, setPopupMenu, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mGrabFocus

protected org.gui4j.core.Gui4jCall mGrabFocus

mHandleReadOnly

private boolean mHandleReadOnly

mKeyMapId

private java.lang.String mKeyMapId

mFocusTraversalKeysForward

private java.util.Set mFocusTraversalKeysForward

mFocusTraversalKeysBackward

private java.util.Set mFocusTraversalKeysBackward
Constructor Detail

Gui4jJComponent

public Gui4jJComponent(org.gui4j.core.Gui4jComponentContainer gui4jComponentContainer,
                       java.lang.Class swingClass,
                       java.lang.String id)
Method Detail

setProperties

protected void setProperties(org.gui4j.core.Gui4jComponentInstance gui4jComponentInstance)
Description copied from class: org.gui4j.core.Gui4jAbstractComponent
Initializes attributes for the generated swing instance


handleReadOnly

protected boolean handleReadOnly()

createComponentInstance

protected org.gui4j.core.Gui4jComponentInstance createComponentInstance(org.gui4j.core.Gui4jSwingContainer gui4jSwingContainer,
                                                                        org.gui4j.Gui4jCallBase gui4jCallBase,
                                                                        org.gui4j.core.Gui4jQualifiedComponent gui4jComponentInPath)
Description copied from class: org.gui4j.core.Gui4jAbstractComponent
Method createComponentInstance


setHandleReadOnly

public void setHandleReadOnly(boolean handleReadOnly)

setKeyMapId

public void setKeyMapId(java.lang.String id)

setBorder

public void setBorder(javax.swing.JComponent jComponent,
                      javax.swing.border.Border border)
Sets the border.


setTooltip

public void setTooltip(javax.swing.JComponent jComponent,
                       java.lang.String text)
Sets the tooltip.


setOpaque

public void setOpaque(javax.swing.JComponent jComponent,
                      boolean opaque)

setGrabFocus

public void setGrabFocus(org.gui4j.core.Gui4jCall grabFocus)
Sets the grabFocus.


setFocusTraversalKeysForward

public void setFocusTraversalKeysForward(java.util.Set traversalKeys)

setFocusTraversalKeysBackward

public void setFocusTraversalKeysBackward(java.util.Set traversalKeys)