OracleJavaScript API Reference for Oracle ADF Faces

 

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

oracle.adf.view.js.data
Class AdfSelectItem

org.ecmascript.object.Object
   |
   +--oracle.adf.view.js.base.AdfObject
         |
         +--oracle.adf.view.js.data.AdfSelectItem

public class AdfSelectItem
extends AdfObject
Constructor for AdfSelectItem



Field Summary


Fields inherited from oracle.adf.view.js.base.AdfObject

constructor, superclass


Fields inherited from org.ecmascript.object.Object

prototype


Constructor Summary

public
AdfSelectItem(String value, String label, Boolean disabled, Boolean noSelOpt)
Constructor for AdfSelectItem


Method Summary

public String
getLabel()
getter for the label
public String
getValue()
getter for the value
protected Object
Init(String value, String label, Boolean disabled, Boolean noSelOpt)
Create an instance of an AdfSelectItem
protected static Object
InitClass()
Initializes the AdfSelectItem class
public Boolean
isDisabled()
Returns true if the selectItem is disabled
public Boolean
isNoSelectionOption()
Returns true if the selectItem is the no selection option
public Object
setDisabled(Boolean disabled)
setter for the disabled
public Object
setLabel(String label)
setter for the label
public Object
setNoSelectionOption(Boolean noSelOpt)
setter for the no selection option
public Object
setValue(String value)
setter for the value


Methods inherited from oracle.adf.view.js.base.AdfObject

adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, exportPrototypeSymbol, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toDebugString, toString


Field Detail


Constructor Detail


AdfSelectItem

public AdfSelectItem(String value,
                     String label,
                     Boolean disabled,
                     Boolean noSelOpt)

Constructor for AdfSelectItem

Parameters:
value  -  The value of the selectItem
label  -  The label of the selectItem
disabled  -  Indicates if the selectItem is disabled
noSelOpt  -  Indicates if the selectItem is the no selection option

Method Detail


getLabel

public String getLabel()

getter for the label

Return:
String - null

getValue

public String getValue()

getter for the value

Return:
String - null

Init

protected Object Init(String value,
                      String label,
                      Boolean disabled,
                      Boolean noSelOpt)

Create an instance of an AdfSelectItem

Parameters:
value  -  The value of the selectItem
label  -  The label of the selectItem
disabled  -  Indicates if the selectItem is disabled
noSelOpt  -  Indicates if the selectItem is the no selection option
Return:
Object
Overrides:
AdfObject.Init()

InitClass

protected static Object InitClass()

Initializes the AdfSelectItem class

Return:
Object

isDisabled

public Boolean isDisabled()

Returns true if the selectItem is disabled

Return:
Boolean - null

isNoSelectionOption

public Boolean isNoSelectionOption()

Returns true if the selectItem is the no selection option

Return:
Boolean - null

setDisabled

public Object setDisabled(Boolean disabled)

setter for the disabled

Parameters:
disabled  -  true if the selectItem is to be disabled
Return:
Object

setLabel

public Object setLabel(String label)

setter for the label

Parameters:
label  -  The label of the selectItem
Return:
Object

setNoSelectionOption

public Object setNoSelectionOption(Boolean noSelOpt)

setter for the no selection option

Parameters:
noSelOpt  -  true if the selectItem is to be the no selection option
Return:
Object

setValue

public Object setValue(String value)

setter for the value

Parameters:
value  -  The value of the selectItem
Return:
Object

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

 

Generated on 2015.07.15 10:12 UTC
Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.