com.sas.swing.visuals.dataselectors.calculateditems
Class SimpleCalculatedItemSelector

com.sas.swing.visuals.dataselectors.calculateditems.SimpleCalculatedItemSelector
All Implemented Interfaces:
DataSelectorInterface, PanelInterface, LayoutConstants, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable

public class SimpleCalculatedItemSelector
implements LayoutConstants

This class provides a dialog which lists existing Calculated Items and provides buttons to manipulate (add, edit, delete and delete all) the list.

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
SimpleCalculatedItemSelector(boolean isRelational)
          SimpleCalculatedItemSelector constructor.
 
Method Summary
 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 selector data model.
 
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

SimpleCalculatedItemSelector

public SimpleCalculatedItemSelector(boolean isRelational)
SimpleCalculatedItemSelector constructor.

Parameters:
isRelational - true if called in a relational contact; false in an OLAP context
Method Detail

setSelectorModel

public void setSelectorModel(java.lang.Object model)
Sets the selector data model. The model should be a CalculatedItemListInterface for the component to work appropriately.

Specified by:
setSelectorModel in interface DataSelectorInterface
Overrides:
setSelectorModel in class BaseSwingSelectorPanel
Parameters:
model - - the selector data model
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



Copyright © 2009 SAS Institute Inc. All Rights Reserved.