org.rcfaces.core.item
Class BasicSelectItem

java.lang.Object
  extended by javax.faces.model.SelectItem
      extended by org.rcfaces.core.item.BasicSelectItem
All Implemented Interfaces:
Serializable, IAcceleratorKeyItem, IAccessKeyItem, IClientDataItem, IGroupSelectItem, IInputTypeItem, ISelectItem, IServerDataItem, IStyleClassItem, IVisibleItem
Direct Known Subclasses:
BasicImagesSelectItem

public class BasicSelectItem
extends SelectItem
implements ISelectItem, IAccessKeyItem, IAcceleratorKeyItem, IGroupSelectItem, IInputTypeItem, IVisibleItem, IServerDataItem, IClientDataItem, IStyleClassItem

Version:
$Revision: 1.5 $ $Date: 2010/06/09 13:12:25 $
Author:
Olivier Oeuillot (latest modification by $Author: oeuillot $)
See Also:
Serialized Form

Constructor Summary
BasicSelectItem()
           
BasicSelectItem(ISelectItem selectItem)
           
BasicSelectItem(Object value)
           
BasicSelectItem(Object value, String label)
           
BasicSelectItem(Object value, String label, String description)
           
BasicSelectItem(Object value, String label, String description, boolean disabled)
           
BasicSelectItem(UISelectItem component)
           
 
Method Summary
 String getAcceleratorKey()
           
 String getAccessKey()
           
 Map getClientDataMap()
           
 int getDragEffects(SelectItem dragItem)
           
 String[] getDragTypes(SelectItem dragItem)
           
 String getGroupName()
           
 int getInputType()
           
 Map getServerDataMap()
           
 String getStyleClass()
           
static Object getValue(UISelectItem component)
           
 boolean isClientDataEmpty()
           
 boolean isServerDataEmpty()
           
 boolean isVisible()
           
 void setAcceleratorKey(String acceleratorKey)
           
 void setAccessKey(String accessKey)
           
 void setDragEffects(int dragEffects)
           
 void setDragTypes(String[] dragTypes)
           
 void setGroupName(String groupName)
           
 void setInputType(int style)
           
 void setStyleClass(String styleClass)
           
 void setVisible(boolean visible)
           
 
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.ISelectItem
getDescription, getLabel, getValue, isDisabled
 

Constructor Detail

BasicSelectItem

public BasicSelectItem()

BasicSelectItem

public BasicSelectItem(Object value)

BasicSelectItem

public BasicSelectItem(Object value,
                       String label)

BasicSelectItem

public BasicSelectItem(Object value,
                       String label,
                       String description)

BasicSelectItem

public BasicSelectItem(Object value,
                       String label,
                       String description,
                       boolean disabled)

BasicSelectItem

public BasicSelectItem(ISelectItem selectItem)

BasicSelectItem

public BasicSelectItem(UISelectItem component)
Method Detail

getAccessKey

public String getAccessKey()
Specified by:
getAccessKey in interface IAccessKeyItem

getGroupName

public String getGroupName()
Specified by:
getGroupName in interface IGroupSelectItem

getValue

public static Object getValue(UISelectItem component)

getInputType

public int getInputType()
Specified by:
getInputType in interface IInputTypeItem

isVisible

public boolean isVisible()
Specified by:
isVisible in interface IVisibleItem

setAccessKey

public void setAccessKey(String accessKey)

setAcceleratorKey

public final void setAcceleratorKey(String acceleratorKey)

setStyleClass

public final void setStyleClass(String styleClass)

setGroupName

public void setGroupName(String groupName)

setInputType

public void setInputType(int style)

setVisible

public void setVisible(boolean visible)

isServerDataEmpty

public boolean isServerDataEmpty()
Specified by:
isServerDataEmpty in interface IServerDataItem

getServerDataMap

public Map getServerDataMap()
Specified by:
getServerDataMap in interface IServerDataItem

isClientDataEmpty

public boolean isClientDataEmpty()
Specified by:
isClientDataEmpty in interface IClientDataItem

getClientDataMap

public Map getClientDataMap()
Specified by:
getClientDataMap in interface IClientDataItem

getStyleClass

public String getStyleClass()
Specified by:
getStyleClass in interface IStyleClassItem

getAcceleratorKey

public String getAcceleratorKey()
Specified by:
getAcceleratorKey in interface IAcceleratorKeyItem

getDragEffects

public int getDragEffects(SelectItem dragItem)

setDragEffects

public void setDragEffects(int dragEffects)

getDragTypes

public String[] getDragTypes(SelectItem dragItem)

setDragTypes

public void setDragTypes(String[] dragTypes)


Copyright © 2006-2011 Vedana. All Rights Reserved.