org.rcfaces.core.item
Class ToolItem

java.lang.Object
  extended by javax.faces.model.SelectItem
      extended by javax.faces.model.SelectItemGroup
          extended by org.rcfaces.core.item.ToolItem
All Implemented Interfaces:
Serializable, IAccessKeyItem, IAlternateTextItem, IBorderTypeItem, IClientDataItem, IImagesItem, IImageSizeItem, IImmediateItem, IInputTypeItem, ILookAndFeelItem, ISelectItem, ISelectItemGroup, IServerDataItem, IStyleClassItem, ITextPositionItem, IToolItem, IVisibleItem, IWidthItem

public class ToolItem
extends SelectItemGroup
implements IToolItem

Version:
$Revision: 1.3 $ $Date: 2007/04/20 13:43:05 $
Author:
Olivier Oeuillot (latest modification by $Author: oeuillot $)
See Also:
Serialized Form

Field Summary
protected static SelectItem[] SELECT_ITEMS_EMPTY_ARRAY
           
 
Constructor Summary
ToolItem()
           
ToolItem(IToolItem toolItem)
           
ToolItem(String label)
           
ToolItem(String label, String description, boolean disabled, SelectItem[] items)
           
ToolItem(ToolItemComponent toolItemComponent)
           
 
Method Summary
 String getAcceleratorKey()
           
 String getAccessKey()
           
 String getAlternateText()
           
 String getBorderType()
           
 Map getClientDataMap()
           
 String getDisabledImageURL()
           
 int getDragEffects()
           
 int getDragEffects(SelectItem dragItem)
           
 String[] getDragTypes()
           
 String[] getDragTypes(SelectItem dragItem)
           
 int getDropEffects()
           
 int getDropEffects(SelectItem dropItem)
           
 String[] getDropTypes()
           
 String[] getDropTypes(SelectItem dropItem)
           
 String getExpandedImageURL()
           
 String getGroupName()
           
 String getHoverImageURL()
           
 int getImageHeight()
           
 String getImageURL()
           
 int getImageWidth()
           
 int getInputType()
           
 String getLookId()
           
 String getMenuPopupId()
           
 String getSelectedImageURL()
           
 Map getServerDataMap()
           
 String getStyleClass()
           
 int getTextPosition()
           
 String getWidth()
           
 boolean isClientDataEmpty()
           
 boolean isImmediate()
           
 boolean isServerDataEmpty()
           
 boolean isVisible()
           
 void setAcceleratorKey(String acceleratorKey)
           
 void setAccessKey(String accessKey)
           
 void setAlternateText(String alternateText)
           
 void setBorderType(String borderType)
           
 void setDisabledImageURL(String disabledImageURL)
           
 void setDragEffects(int dragEffects)
           
 void setDragTypes(String[] dragTypes)
           
 void setDropEffects(int dropEffects)
           
 void setDropTypes(String[] dropTypes)
           
 void setExpandedImageURL(String expandedImageURL)
           
 void setGroupName(String groupName)
           
 void setHoverImageURL(String hoverImageURL)
           
 void setImageHeight(int imageHeight)
           
 void setImageURL(String imageURL)
           
 void setImageWidth(int imageWidth)
           
 void setImmediate(boolean immediate)
           
 void setInputType(int inputType)
           
protected  void setInputType(UIComponent inputComponent)
           
 void setLookId(String lookId)
           
 void setMenuPopupId(String menuPopupId)
           
 void setSelectedImageURL(String selectedImageURL)
           
 void setStyleClass(String styleClass)
           
 void setTextPosition(int textPosition)
           
 void setVisible(boolean visible)
           
 void setWidth(String width)
           
 
Methods inherited from class javax.faces.model.SelectItemGroup
getSelectItems, setSelectItems
 
Methods inherited from class javax.faces.model.SelectItem
getDescription, getLabel, getValue, isDisabled, isEscape, setDescription, setDisabled, setEscape, setLabel, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.rcfaces.core.item.ISelectItemGroup
getSelectItems
 
Methods inherited from interface org.rcfaces.core.item.ISelectItem
getDescription, getLabel, getValue, isDisabled
 
Methods inherited from interface org.rcfaces.core.item.IImagesItem
getDisabledImageURL, getExpandedImageURL, getHoverImageURL, getImageURL, getSelectedImageURL
 
Methods inherited from interface org.rcfaces.core.item.IInputTypeItem
getInputType
 
Methods inherited from interface org.rcfaces.core.item.IImageSizeItem
getImageHeight, getImageWidth
 
Methods inherited from interface org.rcfaces.core.item.ILookAndFeelItem
getLookId
 
Methods inherited from interface org.rcfaces.core.item.IClientDataItem
getClientDataMap, isClientDataEmpty
 
Methods inherited from interface org.rcfaces.core.item.IServerDataItem
getServerDataMap, isServerDataEmpty
 
Methods inherited from interface org.rcfaces.core.item.IVisibleItem
isVisible
 
Methods inherited from interface org.rcfaces.core.item.IBorderTypeItem
getBorderType
 
Methods inherited from interface org.rcfaces.core.item.ITextPositionItem
getTextPosition
 
Methods inherited from interface org.rcfaces.core.item.IAccessKeyItem
getAccessKey
 
Methods inherited from interface org.rcfaces.core.item.IWidthItem
getWidth
 
Methods inherited from interface org.rcfaces.core.item.IStyleClassItem
getStyleClass
 
Methods inherited from interface org.rcfaces.core.item.IAlternateTextItem
getAlternateText
 
Methods inherited from interface org.rcfaces.core.item.IImmediateItem
isImmediate
 

Field Detail

SELECT_ITEMS_EMPTY_ARRAY

protected static final SelectItem[] SELECT_ITEMS_EMPTY_ARRAY
Constructor Detail

ToolItem

public ToolItem()

ToolItem

public ToolItem(String label)

ToolItem

public ToolItem(String label,
                String description,
                boolean disabled,
                SelectItem[] items)

ToolItem

public ToolItem(IToolItem toolItem)

ToolItem

public ToolItem(ToolItemComponent toolItemComponent)
Method Detail

getImageURL

public String getImageURL()

getHoverImageURL

public String getHoverImageURL()

getSelectedImageURL

public String getSelectedImageURL()

getExpandedImageURL

public String getExpandedImageURL()

getDisabledImageURL

public String getDisabledImageURL()

setDisabledImageURL

public void setDisabledImageURL(String disabledImageURL)

setExpandedImageURL

public void setExpandedImageURL(String expandedImageURL)

setHoverImageURL

public void setHoverImageURL(String hoverImageURL)

setImageURL

public void setImageURL(String imageURL)

setSelectedImageURL

public void setSelectedImageURL(String selectedImageURL)

getInputType

public int getInputType()

setInputType

public void setInputType(int inputType)

getStyleClass

public final String getStyleClass()

setStyleClass

public final void setStyleClass(String styleClass)

isServerDataEmpty

public boolean isServerDataEmpty()

getServerDataMap

public Map getServerDataMap()

getGroupName

public final String getGroupName()

setGroupName

public final void setGroupName(String groupName)

getImageHeight

public final int getImageHeight()

setImageHeight

public final void setImageHeight(int imageHeight)

getImageWidth

public final int getImageWidth()

setImageWidth

public final void setImageWidth(int imageWidth)

getLookId

public final String getLookId()

setLookId

public final void setLookId(String lookId)

isClientDataEmpty

public boolean isClientDataEmpty()

getClientDataMap

public Map getClientDataMap()

isVisible

public final boolean isVisible()

setVisible

public final void setVisible(boolean visible)

isImmediate

public final boolean isImmediate()

setImmediate

public final void setImmediate(boolean immediate)

getBorderType

public final String getBorderType()

setBorderType

public final void setBorderType(String borderType)

getTextPosition

public final int getTextPosition()

setTextPosition

public final void setTextPosition(int textPosition)

getAccessKey

public final String getAccessKey()

setAccessKey

public final void setAccessKey(String accessKey)

getAcceleratorKey

public final String getAcceleratorKey()

setAcceleratorKey

public final void setAcceleratorKey(String acceleratorKey)

getMenuPopupId

public final String getMenuPopupId()

setMenuPopupId

public final void setMenuPopupId(String menuPopupId)

setInputType

protected void setInputType(UIComponent inputComponent)

getWidth

public final String getWidth()

setWidth

public final void setWidth(String width)

getAlternateText

public final String getAlternateText()

setAlternateText

public final void setAlternateText(String alternateText)

getDragEffects

public int getDragEffects()

setDragEffects

public void setDragEffects(int dragEffects)

getDragTypes

public String[] getDragTypes()

setDragTypes

public void setDragTypes(String[] dragTypes)

getDragEffects

public int getDragEffects(SelectItem dragItem)

getDragTypes

public String[] getDragTypes(SelectItem dragItem)

getDropEffects

public int getDropEffects()

setDropEffects

public void setDropEffects(int dropEffects)

getDropTypes

public String[] getDropTypes()

setDropTypes

public void setDropTypes(String[] dropTypes)

getDropEffects

public int getDropEffects(SelectItem dropItem)

getDropTypes

public String[] getDropTypes(SelectItem dropItem)


Copyright © 2006-2011 Vedana. All Rights Reserved.