com.sas.swing.visuals.dataselectors.sort
Class SortSelector

com.sas.swing.visuals.dataselectors.sort.SortSelector
All Implemented Interfaces:
DataSelectorInterface, PanelInterface, LayoutConstants, com.sas.util.SortDirectionInterface, java.awt.event.ActionListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, javax.swing.event.ListDataListener, javax.swing.event.ListSelectionListener

public class SortSelector
implements LayoutConstants, javax.swing.event.ListSelectionListener, javax.swing.event.ListDataListener, java.awt.event.ActionListener, com.sas.util.SortDirectionInterface

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.util.LayoutConstants
DOTS_BUTTON_INSETS, EMPTY_INSETS, HGAP, HMARGIN, INDENTED_BORDER, TAB_BORDER, TEXTFIELD_INSETS, VGAP, VMARGIN
 
Fields inherited from interface com.sas.util.SortDirectionInterface
ASCENDING, DESCENDING, NOT_SORTED
 
Fields inherited from interface com.sas.swing.visuals.PanelInterface
CONTENTS_VALID_PROPERTY
 
Constructor Summary
SortSelector()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
protected  void addListeners()
           
 void contentsChanged(javax.swing.event.ListDataEvent e)
           
protected  void createComponents()
           
 void doLayout()
           
 java.lang.String getDialogTitle()
          Returns a title for this panel that should be displayed on a dialog's title bar.
 void intervalAdded(javax.swing.event.ListDataEvent e)
           
 void intervalRemoved(javax.swing.event.ListDataEvent e)
           
 void setSelectorModel(java.lang.Object model)
          Sets the model used for the selector on the panel.
 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
 

Field Detail

RB_KEY

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

SortSelector

public SortSelector()
Method Detail

createComponents

protected void createComponents()

doLayout

public void doLayout()
Overrides:
doLayout in class java.awt.Container

addListeners

protected void addListeners()

setSelectorModel

public void setSelectorModel(java.lang.Object model)
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:
model - the new selector model to set on the panel
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 if used in a dialog

valueChanged

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

actionPerformed

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

contentsChanged

public void contentsChanged(javax.swing.event.ListDataEvent e)
Specified by:
contentsChanged in interface javax.swing.event.ListDataListener

intervalAdded

public void intervalAdded(javax.swing.event.ListDataEvent e)
Specified by:
intervalAdded in interface javax.swing.event.ListDataListener

intervalRemoved

public void intervalRemoved(javax.swing.event.ListDataEvent e)
Specified by:
intervalRemoved in interface javax.swing.event.ListDataListener



Copyright © 2009 SAS Institute Inc. All Rights Reserved.