com.sun.rave.web.ui.component.util.handlers
Class PropertySheetHandlers

java.lang.Object
  extended by com.sun.rave.web.ui.component.util.handlers.PropertySheetHandlers

public class PropertySheetHandlers
extends java.lang.Object

This class contains Handler methods that perform PropertySheet specific functions.


Field Summary
static java.lang.String PROP_SHEET
           This constant defines the input parameter key used to pass in the PropertySheet.
static java.lang.String PROPERTY
           This constant defines the input parameter key used to pass in the Property.
static java.lang.String SECTION
           This constant defines the input parameter key used to pass in the PropertySheetSection.
 
Constructor Summary
PropertySheetHandlers()
           Default Constructor.
 
Method Summary
 void getLabelTarget(HandlerContext context)
           This Handler creates a List of visible (rendered=true) PropertySheetSection components.
 void getSectionChildrenCount(HandlerContext context)
           This method calculates the number of visible child PropertySheetSection or Property UIComponents.
 void getSectionCount(HandlerContext context)
           This method calculates the number of visible PropertySheetSections.
 void getVisibleSectionChildren(HandlerContext context)
           This Handler creates a List of visible (rendered=true) child PropertySheetSection or Property components.
 void getVisibleSections(HandlerContext context)
           This Handler creates a List of visible (rendered=true) PropertySheetSection components.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_SHEET

public static final java.lang.String PROP_SHEET

This constant defines the input parameter key used to pass in the PropertySheet. ("propSheet")

See Also:
Constant Field Values

SECTION

public static final java.lang.String SECTION

This constant defines the input parameter key used to pass in the PropertySheetSection. ("section")

See Also:
Constant Field Values

PROPERTY

public static final java.lang.String PROPERTY

This constant defines the input parameter key used to pass in the Property. ("property")

See Also:
Constant Field Values
Constructor Detail

PropertySheetHandlers

public PropertySheetHandlers()

Default Constructor.

Method Detail

getSectionCount

public void getSectionCount(HandlerContext context)

This method calculates the number of visible PropertySheetSections. A PropertySheetSection can be made not visible by setting its rendered propety to false.

This method expects the PropertySheet to be passed in as an input value (PROP_SHEET). It returns "numSections" as the number of visible PropertySheetSections.

Parameters:
context - The HandlerContext

getSectionChildrenCount

public void getSectionChildrenCount(HandlerContext context)

This method calculates the number of visible child PropertySheetSection or Property UIComponents. A PropertySheetSection or Property can be made not visible by setting its rendered propety to false.

This method expects the PropertySheetSection to be passed in as an input value (SECTION). It returns the result in "numChildren".

Parameters:
context - The HandlerContext

getVisibleSectionChildren

public void getVisibleSectionChildren(HandlerContext context)

This Handler creates a List of visible (rendered=true) child PropertySheetSection or Property components.

Parameters:
context - The HandlerContext.

getVisibleSections

public void getVisibleSections(HandlerContext context)

This Handler creates a List of visible (rendered=true) PropertySheetSection components.

Parameters:
context - The HandlerContext.

getLabelTarget

public void getLabelTarget(HandlerContext context)

This Handler creates a List of visible (rendered=true) PropertySheetSection components.

Parameters:
context - The HandlerContext.