com.sas.servlet.tbeans.dataselectors.calculations.percent.html
Class PercentCalculationsSelectorListBoxView

com.sas.servlet.tbeans.dataselectors.calculations.percent.html.PercentCalculationsSelectorListBoxView
All Implemented Interfaces:
HttpActionProviderInterface, com.sas.beans.PropertyChangeSource, com.sas.lang.ObjectDataInterface, com.sas.servlet.tbeans.AJAXControllerURLInterface, ComplexStyleInterface, CompositeComponentInterface, PercentCalculationsListBoxViewKeysInterface, PercentCalculationsListBoxViewStyleKeysInterface, RenderableInterface, TemplateInterface, com.sas.servlet.tbeans.TemplateKeyInterface, TransformationInterface, com.sas.util.WriteToPrintWriterInterface, java.io.Serializable

public class PercentCalculationsSelectorListBoxView
implements PercentCalculationsListBoxViewStyleKeysInterface, PercentCalculationsListBoxViewKeysInterface

See Also:
Serialized Form

Field Summary
protected static java.lang.String JAVASCRIPT_ACTIVATE_REMOVE_FUNCTION
          The name of the JavaScript function which adds items to the summary box.
protected  javax.swing.DefaultListModel model
           
static java.lang.String RB_KEY
           
 
Fields inherited from interface com.sas.servlet.tbeans.dataselectors.calculations.percent.html.PercentCalculationsListBoxViewStyleKeysInterface
PCSLISTBOXVIEW_CONTAINER_STYLE, PCSLISTBOXVIEW_CONTAINER_XP_STYLE, PCSLISTBOXVIEW_LABEL_NODE_STYLE, PCSLISTBOXVIEW_LABEL_STYLE, PCSLISTBOXVIEW_MEASURE_NODE_STYLE, PCSLISTBOXVIEW_MEASURE_STYLE, PCSLISTBOXVIEW_PERCENT_NODE_STYLE, PCSLISTBOXVIEW_PERCENT_STYLE, PCSLISTBOXVIEW_TITLES
 
Fields inherited from interface com.sas.servlet.tbeans.dataselectors.calculations.percent.html.PercentCalculationsListBoxViewKeysInterface
PCSLISTBOXVIEW_LABEL_TITLE, PCSLISTBOXVIEW_LISTBOX, PCSLISTBOXVIEW_MEASURE_TITLE, PCSLISTBOXVIEW_PERCENT_TITLE
 
Constructor Summary
PercentCalculationsSelectorListBoxView()
           
PercentCalculationsSelectorListBoxView(java.lang.String id)
           
 
Method Summary
protected  void addComponents()
          Creates the components and add them to the selector template.
 java.lang.String getDefaultTemplate()
          Returns the default template to be used for this composite.
 javax.swing.DefaultListModel getModel()
           
 java.lang.String getOnClick()
           
 int getSize()
           
 java.lang.String getStyleClassPrefix()
           
protected  void setLocaleDependentProperties(java.util.Locale locale)
          Sets the locale dependent properties.
 void setModel(javax.swing.DefaultListModel value)
           
 void setOnClick(java.lang.String value)
           
 void setSize(int value)
           
 void setStyleClassPrefix(java.lang.String value)
           
 void write(java.io.PrintWriter out)
          Writes the custom attributes of the object.
 
Methods inherited from class com.sas.servlet.tbeans.BaseCompositeTransformation
applyTemplate, applyTemplate, getActionProvider, getComponent, getComponents, getStyleInfo, getStyleMap, getTemplate, getTemplateDictionary, getTemplateFileName, getTemplateLocation, getVisibleComponents, isFlushEnabled, propertyChange, removeComponent, setActionProvider, setCleanUpResourcesOn, setComponent, setFlushEnabled, setId, setLocale, setRequest, setResponse, setStyleInfo, setTemplate, setTemplate, setTemplateDictionary, setTemplateFileName, setTemplateLocation, writeTemplate
 
Methods inherited from class com.sas.servlet.tbeans.BaseTransformation
addPropertyChangeListener, addPropertyChangeListener, cleanUpResources, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCustomAttributes, getDescription, getId, getInputTransform, getLocale, getName, getObjectData, getObjectDataProperty, getOutputTransform, getRequest, getResponse, getTagEpilog, getTagProlog, hasListeners, isCleanUpResourcesOn, isVisible, removePropertyChangeListener, removePropertyChangeListener, setCustomAttributes, setInputTransform, setName, setObjectData, setObjectDataProperty, setOutputTransform, setTagEpilog, setTagProlog, setVisible, toString, write, write, write
 
Methods inherited from interface com.sas.actionprovider.HttpActionProviderInterface
getRequest
 

Field Detail

RB_KEY

public static final java.lang.String RB_KEY
See Also:
Constant Field Values

model

protected javax.swing.DefaultListModel model

JAVASCRIPT_ACTIVATE_REMOVE_FUNCTION

protected static final java.lang.String JAVASCRIPT_ACTIVATE_REMOVE_FUNCTION
The name of the JavaScript function which adds items to the summary box.

See Also:
Constant Field Values
Constructor Detail

PercentCalculationsSelectorListBoxView

public PercentCalculationsSelectorListBoxView()

PercentCalculationsSelectorListBoxView

public PercentCalculationsSelectorListBoxView(java.lang.String id)
Method Detail

setLocaleDependentProperties

protected void setLocaleDependentProperties(java.util.Locale locale)
Description copied from class: BaseTransformation
Sets the locale dependent properties. Not operational at this level.

Overrides:
setLocaleDependentProperties in class BaseTransformation

write

public void write(java.io.PrintWriter out)
           throws java.io.IOException
Description copied from class: BaseCompositeTransformation
Writes the custom attributes of the object. All transformation beans should override this method and call SUPER.

Specified by:
write in interface TransformationInterface
Specified by:
write in interface com.sas.util.WriteToPrintWriterInterface
Overrides:
write in class BaseCompositeTransformation
Parameters:
out - The output stream
Throws:
java.io.IOException - Thrown if some type of I/O error occurs

setModel

public void setModel(javax.swing.DefaultListModel value)

getModel

public javax.swing.DefaultListModel getModel()

getSize

public int getSize()

setSize

public void setSize(int value)

setOnClick

public void setOnClick(java.lang.String value)

getOnClick

public java.lang.String getOnClick()

getStyleClassPrefix

public java.lang.String getStyleClassPrefix()

setStyleClassPrefix

public void setStyleClassPrefix(java.lang.String value)

getDefaultTemplate

public java.lang.String getDefaultTemplate()
Description copied from interface: TemplateInterface
Returns the default template to be used for this composite. If no customized template has been applied and the template file cannot be found or read, this template is used to provide at least a minimum amount of functionality and may or may not have styling or formatting applied to it.

Specified by:
getDefaultTemplate in interface TemplateInterface
Overrides:
getDefaultTemplate in class BaseCompositeTransformation
Returns:
default template to be used for this composite

addComponents

protected void addComponents()
Creates the components and add them to the selector template.




Copyright © 2009 SAS Institute Inc. All Rights Reserved.