com.sas.swing.visuals.dataselectors.ranking
Class RankingSelector

com.sas.swing.visuals.dataselectors.ranking.RankingSelector
All Implemented Interfaces:
DataSelectorInterface, PanelInterface, java.awt.event.ActionListener, java.awt.event.ItemListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, javax.swing.event.ChangeListener

public class RankingSelector
implements java.awt.event.ActionListener, javax.swing.event.ChangeListener, java.awt.event.ItemListener

See Also:
Serialized Form

Field Summary
static java.lang.String RB_KEY
           
 
Fields inherited from class com.sas.swing.visuals.dataselectors.BaseSwingSelectorPanel
command, contentsValid, selectorModel, wasCancelled
 
Fields inherited from interface com.sas.swing.visuals.PanelInterface
CONTENTS_VALID_PROPERTY
 
Constructor Summary
RankingSelector()
           
RankingSelector(boolean topRanking, boolean percentageRanking)
           
 
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 itemStateChanged(java.awt.event.ItemEvent e)
           
 void setSelectorModel(java.lang.Object selectorModel)
          Sets the model used for the selector on the panel.
 void stateChanged(javax.swing.event.ChangeEvent 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
 

Field Detail

RB_KEY

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

RankingSelector

public RankingSelector()

RankingSelector

public RankingSelector(boolean topRanking,
                       boolean percentageRanking)
Method Detail

setSelectorModel

public void setSelectorModel(java.lang.Object selectorModel)
Description copied from class: BaseSwingSelectorPanel
Sets the model used for the selector on the panel.

Specified by:
setSelectorModel in interface DataSelectorInterface
Overrides:
setSelectorModel in class BaseSwingSelectorPanel
Parameters:
selectorModel - the new selector model to set on the panel
See Also:
BaseSwingSelectorPanel.getSelectorModel()

getDialogTitle

public java.lang.String getDialogTitle()
Description copied from class: BaseSwingSelectorPanel
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 if used in a dialog

actionPerformed

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

stateChanged

public void stateChanged(javax.swing.event.ChangeEvent e)
Specified by:
stateChanged in interface javax.swing.event.ChangeListener

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent e)
Specified by:
itemStateChanged in interface java.awt.event.ItemListener



Copyright © 2009 SAS Institute Inc. All Rights Reserved.