Class f_cardBox

Object
  extended by f_object
      extended by f_eventTarget
          extended by f_component
              extended by f_cardBox
All Implemented Interfaces:
Element, fa_clientData, fa_eventTarget, fa_immediate, fa_serializable, HTMLElement, Node
Direct Known Subclasses:
f_tabbedPane

public class f_cardBox
extends f_component
implements fa_immediate


Field Summary
 
Fields inherited from class f_component
DEFAULT_HIDDEN_MODE, HIDDEN_MODE_IGNORE, HIDDEN_MODE_PHANTOM, HIDDEN_MODE_SERVER
 
Fields inherited from class HTMLElement
className, dir, id, lang
 
Fields inherited from class Element
tagName
 
Fields inherited from class Node
childNodes, firstChild, lastChild, nextSibling, nodeName, nodeType, nodeValue, ownerDocument, parentNode, previousSibling
 
Method Summary
 f_card f_getCardByValue(String value)
          Search a card by its value.
 f_card f_getSelectedCard()
           
 String f_getValue()
          Returns the value of the selected card.
 f_card[] f_listCards()
           
 boolean f_selectCard(f_card cardComponent, boolean setFocus)
           
 boolean f_setValue(String value)
          Select a card by its value.
 
Methods inherited from class fa_immediate
f_isImmediate
 
Methods inherited from class f_component
f_findComponent, f_findSiblingComponent, f_getAccessKey, f_getBackgroundColor, f_getDocument, f_getForegroundColor, f_getHeight, f_getHelpMessage, f_getHelpURL, f_getHiddenMode, f_getId, f_getParent, f_getToolTipText, f_getVisible, f_getWidth, f_getX, f_getY, f_isVisible, f_setBackgroundColor, f_setFocus, f_setForegroundColor, f_setHeight, f_setHelpMessage, f_setHelpURL, f_setHiddenMode, f_setToolTipText, f_setVisible, f_setWidth, f_setX, f_setY, f_show, toString
 
Methods inherited from class fa_clientData
f_getClientData, f_getClientDataSet, f_getClientDatas, f_setClientData
 
Methods inherited from class fa_eventTarget
f_addEventListener, f_fireEvent, f_removeEventListener
 
Methods inherited from class Element
getAttribute, getElementsByTagName, removeAttribute, setAttribute
 
Methods inherited from class Node
appendChild, hasChildNodes, insertBefore, removeChild, replaceChild
 
Methods inherited from class f_object
f_getClass, toString
 
Methods inherited from class Object
toString
 

Method Detail

f_listCards

public f_card[] f_listCards()
Returns:
Card array

f_setValue

public boolean f_setValue(String value)
Select a card by its value.

Parameters:
value -
Returns:
true if success.

f_getValue

public String f_getValue()
Returns the value of the selected card.


f_getCardByValue

public f_card f_getCardByValue(String value)
Search a card by its value.

Parameters:
value -

f_getSelectedCard

public f_card f_getSelectedCard()

f_selectCard

public boolean f_selectCard(f_card cardComponent,
                            boolean setFocus)
Parameters:
cardComponent - Card to select. (or a string as the identifier of the card)
setFocus - Set focus if possible !