com.sas.models
Class TextValueModel

com.sas.models.TextValueModel
All Implemented Interfaces:
com.sas.beans.PropertyChangeSource, com.sas.beans.VetoableChangeSource, ComponentInterface, com.sas.lang.StringDataInterface, LinkPropertiesInterface, ModelInterface, StringValueInterface, ViewInterface, MultipleValueEventSourceInterface, java.beans.PropertyChangeListener, java.io.ObjectInputValidation, java.io.Serializable, java.util.EventListener

public class TextValueModel
implements StringValueInterface

Provides an implementation of StringValueInterface

See Also:
Serialized Form

Constructor Summary
TextValueModel()
          Constructs a new TextValueModel
 
Method Summary
 java.lang.String getText()
          Gets the text
 java.lang.String getValue()
          Gets the text value
 void setText(java.lang.String newText)
          Sets the text
 void setValue(java.lang.String newValue)
          Sets the value stored in the text value model.
 
Methods inherited from class com.sas.Component
addLink, addPropertyChangeListener, addVetoableChangeListener, anyPropertyChangeListeners, attachModel, attachView, beansIsDesignTime, beansSetDesignTime, clone, clone, detachModel, detachView, dumpComponent, firePropertyChange, firePropertyChange, fireVetoableChange, getComponentDescription, getComponentSupportInfo, getEventMethod, getEventValues, getExtendedBeanInfo, getLinkInfo, getModelInterface, getRequiredInterfaces, getResources, getStringResource, getViewInterfaceSupportInfo, initialize, initializeComponent, isDesignTime, isLinked, propertyChange, queryLinks, queryLinks, refresh, removeAllLinks, removeInterfaceTraps, removeLink, removePropertyChangeListener, removeVetoableChangeListener, setComponentDescription, setComponentSupportInfo, setDefaultValues, setLinkInfo, setModelInterface, setRequiredInterfaces, setViewInterfaceSupportInfo, supportsListenerInterface, supportsRequiredInterfaces, trapInterfaceEvents, validateObject
 

Constructor Detail

TextValueModel

public TextValueModel()
Constructs a new TextValueModel

Method Detail

getText

public java.lang.String getText()
Gets the text

Specified by:
getText in interface com.sas.lang.StringDataInterface
Returns:
text The text

setText

public void setText(java.lang.String newText)
Sets the text

Specified by:
setText in interface com.sas.lang.StringDataInterface
Parameters:
newText - The text

getValue

public java.lang.String getValue()
Gets the text value

Specified by:
getValue in interface StringValueInterface
Returns:
value The text value

setValue

public void setValue(java.lang.String newValue)
Sets the value stored in the text value model.

Specified by:
setValue in interface StringValueInterface
Parameters:
newValue - The text value



Copyright © 2009 SAS Institute Inc. All Rights Reserved.