com.sas.swing.visuals.dataselectors.calculations.percent
Class PercentCalculationsSelector

com.sas.swing.visuals.dataselectors.calculations.percent.PercentCalculationsSelector
All Implemented Interfaces:
DataSelectorInterface, PanelInterface, LayoutConstants, java.awt.event.ActionListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, javax.swing.event.ListSelectionListener, javax.swing.event.TableModelListener

public class PercentCalculationsSelector
implements java.awt.event.ActionListener, javax.swing.event.ListSelectionListener, javax.swing.event.TableModelListener, LayoutConstants

This class provides a dialog which shows existing Percent Calculations expressions, and includes buttons which lead to another dialog where a user can create a new expression or edit an existing one.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sas.swing.visuals.dataselectors.BaseSwingSelectorPanel
command, contentsValid, selectorModel, wasCancelled
 
Fields inherited from interface com.sas.swing.visuals.util.LayoutConstants
DOTS_BUTTON_INSETS, EMPTY_INSETS, HGAP, HMARGIN, INDENTED_BORDER, TAB_BORDER, TEXTFIELD_INSETS, VGAP, VMARGIN
 
Fields inherited from interface com.sas.swing.visuals.PanelInterface
CONTENTS_VALID_PROPERTY
 
Constructor Summary
PercentCalculationsSelector()
          Constructor for PercentCalculationsSelector.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 java.lang.String getDialogTitle()
          Returns a title for this panel that should be displayed on a dialog's title bar.
 void setSelectorModel(java.lang.Object model)
          Sets the model for this Selector.
 void tableChanged(javax.swing.event.TableModelEvent e)
           
 void valueChanged(javax.swing.event.ListSelectionEvent e)
           
 
Methods inherited from class com.sas.swing.visuals.dataselectors.BaseSwingSelectorPanel
getCommand, getHelpID, getPanel, getSelectorModel, getTabTitle, isContentsValid, isYesNo, onApply, onCancel, onClose, setCommand, setContentsValid
 
Methods inherited from interface com.sas.dataselectors.DataSelectorInterface
isVisible, setVisible
 

Constructor Detail

PercentCalculationsSelector

public PercentCalculationsSelector()
Constructor for PercentCalculationsSelector.

Method Detail

valueChanged

public void valueChanged(javax.swing.event.ListSelectionEvent e)
Specified by:
valueChanged in interface javax.swing.event.ListSelectionListener

tableChanged

public void tableChanged(javax.swing.event.TableModelEvent e)
Specified by:
tableChanged in interface javax.swing.event.TableModelListener

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

setSelectorModel

public void setSelectorModel(java.lang.Object model)
Sets the model for this Selector. The model should be an instance of a com.sas.dataselectors.calculations.percent.PercentCalculationsSelectorInterface.

Specified by:
setSelectorModel in interface DataSelectorInterface
Overrides:
setSelectorModel in class BaseSwingSelectorPanel
Parameters:
model - the model for this selector, an instance of com.sas.dataselectors.calculations.percent.PercentCalculationsSelectorInterface.
See Also:
BaseSwingSelectorPanel.getSelectorModel()

getDialogTitle

public java.lang.String getDialogTitle()
Returns a title for this panel that should be displayed on a dialog's title bar.

Specified by:
getDialogTitle in interface PanelInterface
Overrides:
getDialogTitle in class BaseSwingSelectorPanel
Returns:
the title to display when used in a dialog



Copyright © 2009 SAS Institute Inc. All Rights Reserved.