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

com.sas.swing.visuals.dataselectors.calculateditems.BaseEditorAdapter
All Implemented Interfaces:
com.sas.swing.dataselectors.editors.EditorInterface
Direct Known Subclasses:
ExpressionValueEditorAdapter, FilterItemEditorAdapter

public class BaseEditorAdapter
implements com.sas.swing.dataselectors.editors.EditorInterface

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


Field Summary
protected  com.sas.iquery.metadata.business.BusinessModel _businessModel
           
protected  AdvancedCalculatedItemEditorInterface _editDialog
           
protected  com.sas.iquery.metadata.expr.ExpressionInterface _expression
           
protected  java.lang.Object _expressionObject
           
protected  int _expressionType
           
protected  SASJavaHelp _javaHelp
           
protected  int _maxMaxOutputObservations
           
protected  com.sas.iquery.metadata.expr.ResourceScope _resourceScope
           
protected  FilterValueInterface _returnValue
           
protected  boolean _userSetMaxOutputObservations
           
 
Constructor Summary
BaseEditorAdapter(com.sas.iquery.metadata.business.BusinessModel businessModel, SASJavaHelp javaHelp)
          Constructor for BaseEditorAdapter.
 
Method Summary
 java.lang.Object getExpression()
           
protected  com.sas.iquery.metadata.expr.ExpressionInterface getExpressionFromDialog()
           
 int getExpressionType()
           
 int getMaxOutputObservations()
           
 boolean isEditOK()
          Returns a status code specifying whether the user OK'ed or cancelled out of editor.
protected  void layoutDialog(java.awt.Frame parent)
           
protected  AdvancedCalculatedItemEditorInterface newAdvancedCalculatedItemEditorInterface(java.awt.Frame parent)
           
 void setExpression(java.lang.Object expressionObject)
           
 void setExpressionType(int type)
           
 void setMaxOutputObservations(int max)
           
 void showEditor(java.lang.Object userData)
          Displays the editor.
 

Field Detail

_javaHelp

protected SASJavaHelp _javaHelp

_businessModel

protected com.sas.iquery.metadata.business.BusinessModel _businessModel

_resourceScope

protected com.sas.iquery.metadata.expr.ResourceScope _resourceScope

_expressionType

protected int _expressionType

_expressionObject

protected java.lang.Object _expressionObject

_expression

protected com.sas.iquery.metadata.expr.ExpressionInterface _expression

_editDialog

protected AdvancedCalculatedItemEditorInterface _editDialog

_returnValue

protected FilterValueInterface _returnValue

_userSetMaxOutputObservations

protected boolean _userSetMaxOutputObservations

_maxMaxOutputObservations

protected int _maxMaxOutputObservations
Constructor Detail

BaseEditorAdapter

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

Method Detail

setExpression

public void setExpression(java.lang.Object expressionObject)

getExpression

public java.lang.Object getExpression()

setExpressionType

public void setExpressionType(int type)

getExpressionType

public int getExpressionType()

showEditor

public void showEditor(java.lang.Object userData)
Description copied from interface: EditorInterface
Displays the editor. For Swing editors, the userData argument should be used to supply the editor with the parent Frame.

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

layoutDialog

protected void layoutDialog(java.awt.Frame parent)

isEditOK

public boolean isEditOK()
Description copied from interface: EditorInterface
Returns a status code specifying whether the user OK'ed or cancelled out of editor.

Specified by:
isEditOK in interface com.sas.swing.dataselectors.editors.EditorInterface
See Also:
EditorInterface.isEditOK()

newAdvancedCalculatedItemEditorInterface

protected AdvancedCalculatedItemEditorInterface newAdvancedCalculatedItemEditorInterface(java.awt.Frame parent)

getExpressionFromDialog

protected com.sas.iquery.metadata.expr.ExpressionInterface getExpressionFromDialog()

getMaxOutputObservations

public int getMaxOutputObservations()

setMaxOutputObservations

public void setMaxOutputObservations(int max)



Copyright © 2009 SAS Institute Inc. All Rights Reserved.