jgb.handlers.swing
Class PanelTagHandler

java.lang.Object
  |
  +--jgb.handlers.swing.AbstractTagHandler
        |
        +--jgb.handlers.swing.AbstractControlTagHandler
              |
              +--jgb.handlers.swing.PanelTagHandler
All Implemented Interfaces:
TagHandler
Direct Known Subclasses:
TabTagHandler

public class PanelTagHandler
extends AbstractControlTagHandler


Field Summary
protected static String ATTR_ALIGNMENT
          The name of the alignment attribute.
protected static String ATTR_COLUMNS
          The name of the columns attribute.
protected static String ATTR_HGAP
          The name of the hgap attribute.
protected static String ATTR_LAYOUT
          The name of the layout attribute.
protected static String ATTR_ROWS
          The name of the rows attribute.
protected static String ATTR_VGAP
          The name of the vgap attribute.
 
Fields inherited from class jgb.handlers.swing.AbstractControlTagHandler
ATTR_ACCELERATOR, ATTR_GROUP, ATTR_MNEMONIC, ATTR_REFLABEL, ATTR_SELECTED, ATTR_TEXT, ATTR_TYPE, TYPE_RADIO
 
Fields inherited from class jgb.handlers.swing.AbstractTagHandler
ATTR_CLASS, ATTR_ID, ATTR_REFID, tagContext, tagName
 
Fields inherited from interface jgb.builder.TagHandler
CALL_RETURN_CLASS_KEY, CALL_RETURN_VALUE_KEY, CONSTANTS_MAP_KEY, CONTROLS_STACK_KEY, CURRENT_CONSTRAINTS_KEY, CURRENT_MODEL_ADAPTER, CURRENT_MODEL_ATTRIBUTE, CURRENT_OBJECT_ID_KEY, CURRENT_OBJECT_KEY, CURRENT_OBJECTS_STACK_KEY, CURRENT_PARM_ACC_KEY, CURRENT_WINDOW_ID_KEY, CURRENT_WINDOW_KEY, DOCUMENT_LOCATOR_KEY, MODEL_ID, OBJECTS_MAP_KEY, PARAMETER_CLASS_KEY, PARAMETER_VALUE_KEY, PROPERTY_NAME_KEY, TAG_HANDLER_FACTORY_STACK_KEY, WINDOW_CONTEXT_KEY, WINDOW_KEY
 
Constructor Summary
PanelTagHandler()
           
 
Method Summary
protected  void enterElement(Map atts)
          Actually handle the element's behaviour when the element's start is encountered.
protected  void exitElement()
          Actually handle the element's behaviour when the element's closure is encountered.
protected  String getDefaultPackagePrefix()
          Returns the default package in which to search for class names.
 
Methods inherited from class jgb.handlers.swing.AbstractControlTagHandler
calcControlClassName, getCurrentConstraints, getCurrentControl, getCurrentControlId, isCurrentControlValid, popCurrentControl, pushCurrentControl, pushCurrentControl
 
Methods inherited from class jgb.handlers.swing.AbstractTagHandler
endElement, getCurrentObject, getCurrentObjectId, getObject, isCurrentObjectValid, popCurrentObject, pushCurrentObject, pushCurrentObject, putComponent, putObject, startElement, throwParsingException, throwParsingException, throwParsingException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTR_LAYOUT

protected static final String ATTR_LAYOUT
The name of the layout attribute.

See Also:
Constant Field Values

ATTR_ROWS

protected static final String ATTR_ROWS
The name of the rows attribute.

See Also:
Constant Field Values

ATTR_COLUMNS

protected static final String ATTR_COLUMNS
The name of the columns attribute.

See Also:
Constant Field Values

ATTR_HGAP

protected static final String ATTR_HGAP
The name of the hgap attribute.

See Also:
Constant Field Values

ATTR_VGAP

protected static final String ATTR_VGAP
The name of the vgap attribute.

See Also:
Constant Field Values

ATTR_ALIGNMENT

protected static final String ATTR_ALIGNMENT
The name of the alignment attribute.

See Also:
Constant Field Values
Constructor Detail

PanelTagHandler

public PanelTagHandler()
Method Detail

enterElement

protected void enterElement(Map atts)
                     throws org.xml.sax.SAXException
Description copied from class: AbstractTagHandler
Actually handle the element's behaviour when the element's start is encountered.

Specified by:
enterElement in class AbstractTagHandler
org.xml.sax.SAXException

exitElement

protected void exitElement()
                    throws org.xml.sax.SAXException
Description copied from class: AbstractTagHandler
Actually handle the element's behaviour when the element's closure is encountered.

Specified by:
exitElement in class AbstractTagHandler
org.xml.sax.SAXException

getDefaultPackagePrefix

protected String getDefaultPackagePrefix()
Description copied from class: AbstractControlTagHandler
Returns the default package in which to search for class names. This method supplies the missing information in calcControlClassName(String).

Specified by:
getDefaultPackagePrefix in class AbstractControlTagHandler


Copyright 2002-2003, François Beausoleil, All Rights Reserved