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

com.sas.swing.visuals.dataselectors.calculateditems.FilterItemEditorAdapter
All Implemented Interfaces:
com.sas.swing.dataselectors.editors.EditorInterface, com.sas.swing.dataselectors.editors.FilterItemEditorInterface

public class FilterItemEditorAdapter
implements com.sas.swing.dataselectors.editors.FilterItemEditorInterface

Description: Copyright: Copyright (c) 2002 Company: SAS


Field Summary
protected  boolean _canChangeType
           
protected  java.lang.String m_labelTitle
           
static java.lang.String RB_KEY
           
 
Fields inherited from class com.sas.swing.visuals.dataselectors.calculateditems.BaseEditorAdapter
_businessModel, _editDialog, _expression, _expressionObject, _expressionType, _javaHelp, _maxMaxOutputObservations, _resourceScope, _returnValue, _userSetMaxOutputObservations
 
Constructor Summary
FilterItemEditorAdapter(com.sas.iquery.metadata.business.BusinessModel businessModel, SASJavaHelp javaHelp)
          Constructor for FilterItemEditorAdapter.
 
Method Summary
 java.lang.Object getFilterItemData()
          Retrieves the edited expression from the editor.
protected  void layoutDialog(java.awt.Frame parent)
           
 void setFilterItemData(java.lang.Object expressionObject)
          Sets the filter item data to be edited by the editor.
 void setFilterItemType(int type)
           
 void setUserCanChangeType(boolean enable)
          An enable value of true indicates the user can change the type of the filter item being edited, false indicates the filter item type cannot be changed.
 
Methods inherited from class com.sas.swing.visuals.dataselectors.calculateditems.BaseEditorAdapter
getExpression, getExpressionFromDialog, getExpressionType, getMaxOutputObservations, isEditOK, newAdvancedCalculatedItemEditorInterface, setExpression, setExpressionType, setMaxOutputObservations, showEditor
 

Field Detail

RB_KEY

public static java.lang.String RB_KEY

m_labelTitle

protected java.lang.String m_labelTitle

_canChangeType

protected boolean _canChangeType
Constructor Detail

FilterItemEditorAdapter

public FilterItemEditorAdapter(com.sas.iquery.metadata.business.BusinessModel businessModel,
                               SASJavaHelp javaHelp)
Constructor for FilterItemEditorAdapter.

Method Detail

setFilterItemData

public void setFilterItemData(java.lang.Object expressionObject)
Description copied from interface: FilterItemEditorInterface
Sets the filter item data to be edited by the editor. A filterItemData value of null indicates there is no existing filter item information. In this case, the editor should set up to create a new filter item.

Specified by:
setFilterItemData in interface com.sas.swing.dataselectors.editors.FilterItemEditorInterface
See Also:
FilterItemEditorInterface.setFilterItemData(Object)

getFilterItemData

public java.lang.Object getFilterItemData()
Description copied from interface: FilterItemEditorInterface
Retrieves the edited expression from the editor. If expression is null, then no expression should be associated with the object invoking the editor.

Specified by:
getFilterItemData in interface com.sas.swing.dataselectors.editors.FilterItemEditorInterface
See Also:
FilterItemEditorInterface.getFilterItemData()

setFilterItemType

public void setFilterItemType(int type)

setUserCanChangeType

public void setUserCanChangeType(boolean enable)
Description copied from interface: FilterItemEditorInterface
An enable value of true indicates the user can change the type of the filter item being edited, false indicates the filter item type cannot be changed.

Specified by:
setUserCanChangeType in interface com.sas.swing.dataselectors.editors.FilterItemEditorInterface
Parameters:
enable - a value of true indicates the user can change the type of the filter item; false indicates the type cannot be changed.

layoutDialog

protected void layoutDialog(java.awt.Frame parent)
Overrides:
layoutDialog in class BaseEditorAdapter



Copyright © 2009 SAS Institute Inc. All Rights Reserved.