corelib.services.web.components
Class ChoiceElement

java.lang.Object
  extended by corelib.services.web.components.WebComponent
      extended by corelib.services.web.components.ChoiceElement

public class ChoiceElement
extends WebComponent


Field Summary
 
Fields inherited from class corelib.services.web.components.WebComponent
dataBindings, webPage, xmlNode
 
Constructor Summary
ChoiceElement()
           
ChoiceElement(java.lang.String text, java.lang.String value)
           
 
Method Summary
 java.lang.String getText()
           
 java.lang.String getValue()
           
 boolean isVisible()
          Returns the visibility of this element in the associated visual component.
 void setText(java.lang.String text)
           
 void setValue(java.lang.String value)
           
 void setVisible(boolean visible)
          Changes the visibility of this element is the associated visual component.
 
Methods inherited from class corelib.services.web.components.WebComponent
addBindingExpression, addChildComponent, component_init, component_load, component_preRepeaterDuplications, getChildComponents, getDataBinding, getElementsByTagName, getId, getWebPage, getXmlNode, setId, setWebPage, setXmlNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChoiceElement

public ChoiceElement()

ChoiceElement

public ChoiceElement(java.lang.String text,
                     java.lang.String value)
Method Detail

getText

public java.lang.String getText()

setText

public void setText(java.lang.String text)

getValue

public java.lang.String getValue()

setValue

public void setValue(java.lang.String value)

isVisible

public boolean isVisible()
Returns the visibility of this element in the associated visual component.

Returns:
true if this element must be not visible, false otherwise.
Since:
0.4.0

setVisible

public void setVisible(boolean visible)
Changes the visibility of this element is the associated visual component.

Parameters:
visible - The new visibility.
Since:
0.4.0


CAUTION: Ellipse is proposed to you in BETA version to allow evaluation of this framework. Infini Software is released from any responsibility for the use of Ellipse Framework.

Copyright 2012 Infini Software - All Rights Reserved.