org.rcfaces.core.component
Class SchedulerColumnComponent

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIColumn
              extended by org.rcfaces.core.internal.component.CameliaValueColumnComponent
                  extended by org.rcfaces.core.component.SchedulerColumnComponent
All Implemented Interfaces:
StateHolder, ValueHolder, IAlignmentCapability, IDoubleClickEventCapability, IForegroundBackgroundColorCapability, IHeightCapability, IInitEventCapability, ISelectionEventCapability, IStyleClassCapability, ITextCapability, ITextDirectionCapability, IToolTipCapability, IUserEventCapability, IVerticalAlignmentCapability, IWidthCapability, org.rcfaces.core.internal.capability.IComponentLifeCycle, org.rcfaces.core.internal.capability.IConvertValueHolder, org.rcfaces.core.internal.capability.IRCFacesComponent, org.rcfaces.core.internal.manager.IContainerManager, org.rcfaces.core.internal.manager.ITransientAttributesManager

public class SchedulerColumnComponent
extends org.rcfaces.core.internal.component.CameliaValueColumnComponent
implements ITextCapability, ITextDirectionCapability, IToolTipCapability, IAlignmentCapability, IForegroundBackgroundColorCapability, IStyleClassCapability, IWidthCapability, IHeightCapability, IVerticalAlignmentCapability, ISelectionEventCapability, IDoubleClickEventCapability, IUserEventCapability, IInitEventCapability


Field Summary
protected static Set CAMELIA_ATTRIBUTES
           
static String COMPONENT_TYPE
           
 
Fields inherited from class org.rcfaces.core.internal.component.CameliaValueColumnComponent
engine
 
Fields inherited from class javax.faces.component.UIColumn
COMPONENT_FAMILY
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Fields inherited from interface org.rcfaces.core.component.capability.ITextDirectionCapability
DEFAULT_TEXT_DIRECTION, LEFT_TO_RIGHT_TEXT_DIRECTION, RIGHT_LEFT_TEXT_DIRECTION
 
Fields inherited from interface org.rcfaces.core.component.capability.IAlignmentCapability
CENTER, LEFT, RIGHT
 
Constructor Summary
SchedulerColumnComponent()
           
SchedulerColumnComponent(String componentId)
           
 
Method Summary
 void addDoubleClickListener(IDoubleClickListener listener)
          Adds a listener to the component for the doubleClick event
 void addInitListener(IInitListener listener)
          Adds a listener to the component for the init event
 void addSelectionListener(ISelectionListener listener)
          Adds a listener to the component for the selection event
 void addUserEventListener(IUserEventListener listener)
          Adds a listener to the component for the user event
 String getAlignment()
          Returns a string that represents the alignement of the data in the component.
 String getAlignment(FacesContext facesContext)
          See getAlignment() for more details
 String getBackgroundColor()
          Returns the receiver's background color.
 String getBackgroundColor(FacesContext facesContext)
          See getBackgroundColor() for more details
protected  Set getCameliaFields()
           
 Converter getConverter()
           
 String getForegroundColor()
          Returns the foreground color that the receiver will use to draw.
 String getForegroundColor(FacesContext facesContext)
          See getForegroundColor() for more details
 String getHeight()
          Returns a string value (as specified by CSS) for the height of the component.
 String getHeight(FacesContext facesContext)
          See getHeight() for more details
 Object getLocalValue()
           
 String getStyleClass()
          Returns the style class of the component.
 String getStyleClass(FacesContext facesContext)
          See getStyleClass() for more details
 String getText()
          Returns a string value specifying the text shown.
 String getText(FacesContext facesContext)
          See getText() for more details
 int getTextDirection()
           
 int getTextDirection(FacesContext facesContext)
          See getTextDirection() for more details
 String getToolTipText()
          Returns the receiver's tool tip text, or null if it has not been set.
 String getToolTipText(FacesContext facesContext)
          See getToolTipText() for more details
 Object getValue()
           
 Object getValue(FacesContext context)
           
 String getVerticalAlignment()
          Returns vertical alignment.
 String getVerticalAlignment(FacesContext facesContext)
          See getVerticalAlignment() for more details
 String getWidth()
          Returns a string value (as specified by CSS) for the width of the component.
 String getWidth(FacesContext facesContext)
          See getWidth() for more details
 boolean isAlignmentSetted()
          Returns true if the attribute "alignment" is set.
 boolean isBackgroundColorSetted()
          Returns true if the attribute "backgroundColor" is set.
 boolean isForegroundColorSetted()
          Returns true if the attribute "foregroundColor" is set.
 boolean isHeightSetted()
          Returns true if the attribute "height" is set.
 boolean isStyleClassSetted()
          Returns true if the attribute "styleClass" is set.
 boolean isTextDirectionSetted()
          Returns true if the attribute "textDirection" is set.
 boolean isTextSetted()
          Returns true if the attribute "text" is set.
 boolean isToolTipTextSetted()
          Returns true if the attribute "toolTipText" is set.
 boolean isVerticalAlignmentSetted()
          Returns true if the attribute "verticalAlignment" is set.
 boolean isWidthSetted()
          Returns true if the attribute "width" is set.
 FacesListener[] listDoubleClickListeners()
          Returns a list of doubleClick listener for the component
 FacesListener[] listInitListeners()
          Returns a list of init listener for the component
 FacesListener[] listSelectionListeners()
          Returns a list of selection listener for the component
 FacesListener[] listUserEventListeners()
          Returns a list of user listener for the component
 void removeDoubleClickListener(IDoubleClickListener listener)
          Removes a listener from the component for the doubleClick event
 void removeInitListener(IInitListener listener)
          Removes a listener from the component for the init event
 void removeSelectionListener(ISelectionListener listener)
          Removes a listener from the component for the selection event
 void removeUserEventListener(IUserEventListener listener)
          Removes a listener from the component for the user event
 void setAlignment(String alignment)
          Sets a string that represents the alignement of the data in the component.
 void setBackgroundColor(String backgroundColor)
          Sets the receiver's background color to the color specified by the argument, or to the default system color for the control if the argument is null.
 void setConverter(Converter converter)
           
 void setConverter(FacesContext facesContext, String converterId)
           
 void setConverter(String converterId)
           
 void setForegroundColor(String foregroundColor)
          Sets the receiver's foreground color to the color specified by the argument, or to the default system color for the control if the argument is null.
 void setHeight(String height)
          Sets a string value (as specified by CSS) for the height of the component.
 void setStyleClass(String styleClass)
          Specify the style class of the component.
 void setText(String text)
          Sets a string value specifying the text to be shown.
 void setTextDirection(int textDirection)
           
 void setToolTipText(String toolTipText)
          Sets the receiver's tool tip text to the argument, which may be null indicating that no tool tip text should be shown.
 void setValue(Object value)
           
 void setVerticalAlignment(String verticalAlignment)
          Specifies vertical alignment.
 void setWidth(String width)
          Sets a string value (as specified by CSS) for the width of the component.
 
Methods inherited from class org.rcfaces.core.internal.component.CameliaValueColumnComponent
clearListeners, confirmListenerAppend, constructPhase, constructTemplate, decodePhase, encodeBegin, encodeChildren, encodeEnd, getAsyncRenderer, getCameliaValueAlias, getChildren, getChildrenListState, getConverter, getFamily, getRendererType, getTransientAttribute, getValueExpression, hasDefaultProperties, initializeComponent, initializePhase, isClientRendered, isRendered, isTemplateComponent, processDecodes, processEngineUpdates, processEngineValidators, processUpdates, processValidators, queueEvent, renderPhase, restoreState, saveState, setDefaultProperties, setRendered, setTransientAttribute, setValueExpression, toString, updatePhase, validationPhase, verifyAsyncDecode
 
Methods inherited from class javax.faces.component.UIColumn
getFooter, getHeader, setFooter, setHeader
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, findComponent, getAttributes, getChildCount, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendersChildren, getValueBinding, invokeOnComponent, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.rcfaces.core.internal.manager.IContainerManager
getChildCount
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

CAMELIA_ATTRIBUTES

protected static final Set CAMELIA_ATTRIBUTES
Constructor Detail

SchedulerColumnComponent

public SchedulerColumnComponent()

SchedulerColumnComponent

public SchedulerColumnComponent(String componentId)
Method Detail

setConverter

public void setConverter(String converterId)

setConverter

public void setConverter(FacesContext facesContext,
                         String converterId)

setConverter

public void setConverter(Converter converter)
Specified by:
setConverter in interface ValueHolder

getConverter

public Converter getConverter()
Specified by:
getConverter in interface ValueHolder

getLocalValue

public Object getLocalValue()
Specified by:
getLocalValue in interface ValueHolder

getValue

public Object getValue()
Specified by:
getValue in interface ValueHolder

getValue

public Object getValue(FacesContext context)

setValue

public void setValue(Object value)
Specified by:
setValue in interface ValueHolder

getText

public String getText()
Description copied from interface: ITextCapability
Returns a string value specifying the text shown.

Specified by:
getText in interface ITextCapability
Returns:
text

getText

public String getText(FacesContext facesContext)
See getText() for more details


isTextSetted

public final boolean isTextSetted()
Returns true if the attribute "text" is set.

Returns:
true if the attribute is set.

setText

public void setText(String text)
Description copied from interface: ITextCapability
Sets a string value specifying the text to be shown.

Specified by:
setText in interface ITextCapability
Parameters:
text - text

getTextDirection

public int getTextDirection()
Specified by:
getTextDirection in interface ITextDirectionCapability

getTextDirection

public int getTextDirection(FacesContext facesContext)
See getTextDirection() for more details


isTextDirectionSetted

public final boolean isTextDirectionSetted()
Returns true if the attribute "textDirection" is set.

Returns:
true if the attribute is set.

setTextDirection

public void setTextDirection(int textDirection)
Specified by:
setTextDirection in interface ITextDirectionCapability

getToolTipText

public String getToolTipText()
Description copied from interface: IToolTipCapability
Returns the receiver's tool tip text, or null if it has not been set.

Specified by:
getToolTipText in interface IToolTipCapability
Returns:
the receiver's tool tip text

getToolTipText

public String getToolTipText(FacesContext facesContext)
See getToolTipText() for more details


isToolTipTextSetted

public final boolean isToolTipTextSetted()
Returns true if the attribute "toolTipText" is set.

Returns:
true if the attribute is set.

setToolTipText

public void setToolTipText(String toolTipText)
Description copied from interface: IToolTipCapability
Sets the receiver's tool tip text to the argument, which may be null indicating that no tool tip text should be shown.

Specified by:
setToolTipText in interface IToolTipCapability
Parameters:
toolTipText - the new tool tip text (or null)

getAlignment

public String getAlignment()
Description copied from interface: IAlignmentCapability
Returns a string that represents the alignement of the data in the component.

Specified by:
getAlignment in interface IAlignmentCapability
Returns:
right|left|center

getAlignment

public String getAlignment(FacesContext facesContext)
See getAlignment() for more details


isAlignmentSetted

public final boolean isAlignmentSetted()
Returns true if the attribute "alignment" is set.

Returns:
true if the attribute is set.

setAlignment

public void setAlignment(String alignment)
Description copied from interface: IAlignmentCapability
Sets a string that represents the alignement of the data in the component.

Specified by:
setAlignment in interface IAlignmentCapability
Parameters:
alignment - right|left|center

getBackgroundColor

public String getBackgroundColor()
Description copied from interface: IForegroundBackgroundColorCapability
Returns the receiver's background color.

Specified by:
getBackgroundColor in interface IForegroundBackgroundColorCapability
Returns:
the background color

getBackgroundColor

public String getBackgroundColor(FacesContext facesContext)
See getBackgroundColor() for more details


isBackgroundColorSetted

public final boolean isBackgroundColorSetted()
Returns true if the attribute "backgroundColor" is set.

Returns:
true if the attribute is set.

setBackgroundColor

public void setBackgroundColor(String backgroundColor)
Description copied from interface: IForegroundBackgroundColorCapability
Sets the receiver's background color to the color specified by the argument, or to the default system color for the control if the argument is null.

Specified by:
setBackgroundColor in interface IForegroundBackgroundColorCapability
Parameters:
backgroundColor - background color

getForegroundColor

public String getForegroundColor()
Description copied from interface: IForegroundBackgroundColorCapability
Returns the foreground color that the receiver will use to draw.

Specified by:
getForegroundColor in interface IForegroundBackgroundColorCapability
Returns:
the receiver's foreground color

getForegroundColor

public String getForegroundColor(FacesContext facesContext)
See getForegroundColor() for more details


isForegroundColorSetted

public final boolean isForegroundColorSetted()
Returns true if the attribute "foregroundColor" is set.

Returns:
true if the attribute is set.

setForegroundColor

public void setForegroundColor(String foregroundColor)
Description copied from interface: IForegroundBackgroundColorCapability
Sets the receiver's foreground color to the color specified by the argument, or to the default system color for the control if the argument is null.

Specified by:
setForegroundColor in interface IForegroundBackgroundColorCapability
Parameters:
foregroundColor - foreground color

getStyleClass

public String getStyleClass()
Description copied from interface: IStyleClassCapability
Returns the style class of the component.

Specified by:
getStyleClass in interface IStyleClassCapability
Returns:
style class

getStyleClass

public String getStyleClass(FacesContext facesContext)
See getStyleClass() for more details


isStyleClassSetted

public final boolean isStyleClassSetted()
Returns true if the attribute "styleClass" is set.

Returns:
true if the attribute is set.

setStyleClass

public void setStyleClass(String styleClass)
Description copied from interface: IStyleClassCapability
Specify the style class of the component.

Specified by:
setStyleClass in interface IStyleClassCapability
Parameters:
styleClass - style class

getWidth

public String getWidth()
Description copied from interface: IWidthCapability
Returns a string value (as specified by CSS) for the width of the component.

Specified by:
getWidth in interface IWidthCapability
Returns:
width

getWidth

public String getWidth(FacesContext facesContext)
See getWidth() for more details


isWidthSetted

public final boolean isWidthSetted()
Returns true if the attribute "width" is set.

Returns:
true if the attribute is set.

setWidth

public void setWidth(String width)
Description copied from interface: IWidthCapability
Sets a string value (as specified by CSS) for the width of the component.

Specified by:
setWidth in interface IWidthCapability
Parameters:
width - width

getHeight

public String getHeight()
Description copied from interface: IHeightCapability
Returns a string value (as specified by CSS) for the height of the component.

Specified by:
getHeight in interface IHeightCapability
Returns:
height

getHeight

public String getHeight(FacesContext facesContext)
See getHeight() for more details


isHeightSetted

public final boolean isHeightSetted()
Returns true if the attribute "height" is set.

Returns:
true if the attribute is set.

setHeight

public void setHeight(String height)
Description copied from interface: IHeightCapability
Sets a string value (as specified by CSS) for the height of the component.

Specified by:
setHeight in interface IHeightCapability
Parameters:
height - height

getVerticalAlignment

public String getVerticalAlignment()
Description copied from interface: IVerticalAlignmentCapability
Returns vertical alignment.

Specified by:
getVerticalAlignment in interface IVerticalAlignmentCapability
Returns:
vertical alignment

getVerticalAlignment

public String getVerticalAlignment(FacesContext facesContext)
See getVerticalAlignment() for more details


isVerticalAlignmentSetted

public final boolean isVerticalAlignmentSetted()
Returns true if the attribute "verticalAlignment" is set.

Returns:
true if the attribute is set.

setVerticalAlignment

public void setVerticalAlignment(String verticalAlignment)
Description copied from interface: IVerticalAlignmentCapability
Specifies vertical alignment.

Specified by:
setVerticalAlignment in interface IVerticalAlignmentCapability
Parameters:
verticalAlignment - vertical alignment

addSelectionListener

public final void addSelectionListener(ISelectionListener listener)
Description copied from interface: ISelectionEventCapability
Adds a listener to the component for the selection event

Specified by:
addSelectionListener in interface ISelectionEventCapability
Parameters:
listener - the selection listener to add

removeSelectionListener

public final void removeSelectionListener(ISelectionListener listener)
Description copied from interface: ISelectionEventCapability
Removes a listener from the component for the selection event

Specified by:
removeSelectionListener in interface ISelectionEventCapability
Parameters:
listener - the selection listener to remove

listSelectionListeners

public final FacesListener[] listSelectionListeners()
Description copied from interface: ISelectionEventCapability
Returns a list of selection listener for the component

Specified by:
listSelectionListeners in interface ISelectionEventCapability
Returns:
selection listeners' list

addDoubleClickListener

public final void addDoubleClickListener(IDoubleClickListener listener)
Description copied from interface: IDoubleClickEventCapability
Adds a listener to the component for the doubleClick event

Specified by:
addDoubleClickListener in interface IDoubleClickEventCapability
Parameters:
listener - the doubleClick listener to add

removeDoubleClickListener

public final void removeDoubleClickListener(IDoubleClickListener listener)
Description copied from interface: IDoubleClickEventCapability
Removes a listener from the component for the doubleClick event

Specified by:
removeDoubleClickListener in interface IDoubleClickEventCapability
Parameters:
listener - the doubleClick listener to remove

listDoubleClickListeners

public final FacesListener[] listDoubleClickListeners()
Description copied from interface: IDoubleClickEventCapability
Returns a list of doubleClick listener for the component

Specified by:
listDoubleClickListeners in interface IDoubleClickEventCapability
Returns:
doubleClick listeners' list

addUserEventListener

public final void addUserEventListener(IUserEventListener listener)
Description copied from interface: IUserEventCapability
Adds a listener to the component for the user event

Specified by:
addUserEventListener in interface IUserEventCapability
Parameters:
listener - the user listener to add

removeUserEventListener

public final void removeUserEventListener(IUserEventListener listener)
Description copied from interface: IUserEventCapability
Removes a listener from the component for the user event

Specified by:
removeUserEventListener in interface IUserEventCapability
Parameters:
listener - the user listener to remove

listUserEventListeners

public final FacesListener[] listUserEventListeners()
Description copied from interface: IUserEventCapability
Returns a list of user listener for the component

Specified by:
listUserEventListeners in interface IUserEventCapability
Returns:
user listeners' list

addInitListener

public final void addInitListener(IInitListener listener)
Description copied from interface: IInitEventCapability
Adds a listener to the component for the init event

Specified by:
addInitListener in interface IInitEventCapability
Parameters:
listener - the init listener to add

removeInitListener

public final void removeInitListener(IInitListener listener)
Description copied from interface: IInitEventCapability
Removes a listener from the component for the init event

Specified by:
removeInitListener in interface IInitEventCapability
Parameters:
listener - the init listener to remove

listInitListeners

public final FacesListener[] listInitListeners()
Description copied from interface: IInitEventCapability
Returns a list of init listener for the component

Specified by:
listInitListeners in interface IInitEventCapability
Returns:
init listeners' list

getCameliaFields

protected Set getCameliaFields()
Overrides:
getCameliaFields in class org.rcfaces.core.internal.component.CameliaValueColumnComponent


Copyright © 2006-2011 Vedana. All Rights Reserved.