Skip navigation links


com.essbase.eas.ui.editor.misc
Class StatementContext

java.lang.Object
  extended by com.essbase.eas.ui.editor.misc.StatementContext

All Implemented Interfaces:
AutoCompleteContext
Direct Known Subclasses:
AlphaFnTemplateTree.FunctionStatementContext, MDXFunctionTree.MDXStatementContext, ScriptingStatementContext

public class StatementContext
extends java.lang.Object
implements AutoCompleteContext

Title: Description: Copyright: Copyright (c) 2001 Company: Hyperion Solutions Corporation

Version:
1.0
Author:
Sree Menon

Constructor Summary
StatementContext(TextEditor editor)
           

 

Method Summary
 void addOption(java.lang.Object option)
           
 void addOptions(java.util.Collection coll)
           
 void clear()
           
 void clearOptions()
           
 void dispose()
           
 void endAutoComplete()
           
 java.lang.Object get(java.lang.Object key)
           
 int getCaretPosition()
           
 TextEditor getEditor()
           
 char getKeyChar()
           
 java.awt.event.KeyEvent getKeyStroke()
           
 StatementToken getLastToken()
           
 java.util.List getOptions()
           
 java.util.Properties getProperties()
           
 java.lang.String getProperty(java.lang.String key)
           
 boolean getShowUI()
           
 java.lang.String getStatementText()
           
 java.lang.String getText()
           
 java.util.List getTokenList()
           
 java.lang.Object put(java.lang.Object key, java.lang.Object value)
           
 java.lang.Object remove(java.lang.Object key)
           
 void setKeyStroke(java.awt.event.KeyEvent keyStroke)
           
 void setLastToken(StatementToken command)
           
 void setProperty(java.lang.String key, java.lang.String value)
           
 void setSelectedText(java.lang.String text)
           
 void setSelectionEnd(int end)
           
 void setSelectionStart(int start)
           
 void setShowUI(boolean bShow)
           
 void setStatementText(java.lang.String text)
           
 void setTokenList(java.util.List list)
           
 void startAutoComplete(java.awt.event.KeyEvent keyStroke)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

StatementContext

public StatementContext(TextEditor editor)

Method Detail

setKeyStroke

public void setKeyStroke(java.awt.event.KeyEvent keyStroke)
Specified by:
setKeyStroke in interface AutoCompleteContext

getKeyStroke

public java.awt.event.KeyEvent getKeyStroke()

setStatementText

public void setStatementText(java.lang.String text)

getStatementText

public java.lang.String getStatementText()

setTokenList

public void setTokenList(java.util.List list)

getTokenList

public java.util.List getTokenList()

getKeyChar

public char getKeyChar()

getText

public java.lang.String getText()

getCaretPosition

public int getCaretPosition()

setSelectionStart

public void setSelectionStart(int start)

setSelectionEnd

public void setSelectionEnd(int end)

setSelectedText

public void setSelectedText(java.lang.String text)

setLastToken

public void setLastToken(StatementToken command)

getLastToken

public StatementToken getLastToken()

getProperties

public java.util.Properties getProperties()

getOptions

public java.util.List getOptions()

addOptions

public void addOptions(java.util.Collection coll)

getEditor

public TextEditor getEditor()

addOption

public void addOption(java.lang.Object option)

put

public java.lang.Object put(java.lang.Object key,
                            java.lang.Object value)

get

public java.lang.Object get(java.lang.Object key)

remove

public java.lang.Object remove(java.lang.Object key)

startAutoComplete

public void startAutoComplete(java.awt.event.KeyEvent keyStroke)
Specified by:
startAutoComplete in interface AutoCompleteContext

endAutoComplete

public void endAutoComplete()
Specified by:
endAutoComplete in interface AutoCompleteContext

clearOptions

public void clearOptions()

clear

public void clear()

getProperty

public java.lang.String getProperty(java.lang.String key)

setProperty

public void setProperty(java.lang.String key,
                        java.lang.String value)

setShowUI

public void setShowUI(boolean bShow)

getShowUI

public boolean getShowUI()

dispose

public void dispose()

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.