Skip navigation links


com.essbase.eas.ui.editor
Interface TextEditor

All Known Implementing Classes:
AbstractTextEditor, ASOPartitionWizard5.PartitionEditor, DrillThroughEditor, FormulaTemplatesDialog, TextComponentFrame

public interface TextEditor

Method Summary
 void addCaretListener(javax.swing.event.CaretListener listener)
           
 void addDocumentListener(javax.swing.event.DocumentListener listener)
           
 void append(java.lang.Object object, boolean undoable)
           
 void beginCompoundEdit(boolean start)
           
 boolean canClear()
           
 boolean canCopy()
           
 boolean canCut()
           
 boolean canFind()
           
 boolean canPaste()
           
 boolean canRedo()
           
 boolean canReplace()
           
 boolean canSelectAll()
           
 boolean canSupportAutoComplete()
           
 boolean canUndo()
           
 void clean()
           
 void clear()
           
 void copy()
           
 void cut()
           
 void discard()
           
 void doCompleteWord(java.awt.event.KeyEvent e)
           
 void endCompoundEdit(boolean start)
           
 void endInsert()
           
 void ensureCapacity(int buffer_size, int lines)
           
 java.lang.String filterInvalidChars(java.lang.String s, char c)
           
 void find()
           
 int getCaretLine()
           
 int getCaretPosition()
           
 java.awt.Point getCaretXY()
           
 char getCharAt(int pos)
           
 javax.swing.JPopupMenu getContextMenu()
           
 javax.swing.text.Document getDocument()
           
 java.awt.Component getEditingComponent()
           
 CMenu getEditMenu(java.lang.Object owner)
           
 java.awt.Font getEditorFont()
           
 java.awt.event.KeyListener getInputHandler()
           
 int getLength()
           
 int getLineCount()
           
 int getLineEndOffset(int offset)
           
 int getLineOfOffset(int offset)
           
 java.lang.String getLineText(int line)
           
 java.lang.String getSelectedText()
           
 int getSelectionEnd()
           
 int getSelectionStart()
           
 int getTabSize()
           
 java.lang.String getText()
           
 java.lang.String getText(int start, int len)
           
 void insertString(int offset, java.lang.String text)
           
 boolean isDirty()
           
 boolean isEditable()
           
 void paste()
           
 void processKeyEvent(java.awt.event.KeyEvent e)
           
 void read(java.io.Reader reader)
           
 void redo()
           
 void remove(int offset, int len)
           
 void removeCaretListener(javax.swing.event.CaretListener listener)
           
 void removeDocumentListener(javax.swing.event.DocumentListener listener)
           
 void replace()
           
 void requestFocus()
           
 void scrollTo(int line, int offset)
           
 void select(int startpos, int endpos)
           
 void selectAll()
           
 void setAutoCompleteContext(java.lang.Object context)
           
 void setBlockCaretEnabled(boolean enabled)
           
 void setCaretBlinkEnabled(boolean enabled)
           
 void setCaretPosition(int pos)
           
 void setCaretVisibleAlways(boolean visible)
           
 void setContextMenu(javax.swing.JPopupMenu menu)
           
 void setDocument(javax.swing.text.Document doc)
           
 void setEditable(boolean editable)
           
 void setFont(java.awt.Font font)
           
 void setKeyEventInterceptor(java.awt.event.KeyListener listener)
           
 void setLineWrap(boolean wrap)
           
 void setModified(boolean modified)
           
 void setSelectedText(java.lang.String insertedText)
           
 void setSelectionEnd(int end)
           
 void setSelectionStart(int start)
           
 void setStatus()
           
 void setTabSize(int tabSize)
           
 void setText(java.lang.Object object)
           
 void setText(java.lang.Object object, boolean undoable)
           
 void setTokenMarker(EditorTokenMarker marker)
           
 void setWordWrap(boolean wrap)
           
 void startInsert()
           
 void undo()
           
 void waitingCursor(boolean wait)
           

 

Method Detail

getEditingComponent

java.awt.Component getEditingComponent()

getEditMenu

CMenu getEditMenu(java.lang.Object owner)

getEditorFont

java.awt.Font getEditorFont()

setContextMenu

void setContextMenu(javax.swing.JPopupMenu menu)

getContextMenu

javax.swing.JPopupMenu getContextMenu()

waitingCursor

void waitingCursor(boolean wait)

scrollTo

void scrollTo(int line,
              int offset)

requestFocus

void requestFocus()

setCaretPosition

void setCaretPosition(int pos)

getCaretPosition

int getCaretPosition()

setBlockCaretEnabled

void setBlockCaretEnabled(boolean enabled)

setCaretBlinkEnabled

void setCaretBlinkEnabled(boolean enabled)

setEditable

void setEditable(boolean editable)

setText

void setText(java.lang.Object object)

setText

void setText(java.lang.Object object,
             boolean undoable)

append

void append(java.lang.Object object,
            boolean undoable)

select

void select(int startpos,
            int endpos)

setSelectedText

void setSelectedText(java.lang.String insertedText)

setSelectionEnd

void setSelectionEnd(int end)

setSelectionStart

void setSelectionStart(int start)

getSelectionStart

int getSelectionStart()

getSelectionEnd

int getSelectionEnd()

filterInvalidChars

java.lang.String filterInvalidChars(java.lang.String s,
                                    char c)

getSelectedText

java.lang.String getSelectedText()

setFont

void setFont(java.awt.Font font)

getCharAt

char getCharAt(int pos)

discard

void discard()

setStatus

void setStatus()

getText

java.lang.String getText()

getText

java.lang.String getText(int start,
                         int len)

getLength

int getLength()

clean

void clean()

getLineCount

int getLineCount()

setModified

void setModified(boolean modified)

isDirty

boolean isDirty()

isEditable

boolean isEditable()

canSupportAutoComplete

boolean canSupportAutoComplete()

setAutoCompleteContext

void setAutoCompleteContext(java.lang.Object context)

ensureCapacity

void ensureCapacity(int buffer_size,
                    int lines)

startInsert

void startInsert()

endInsert

void endInsert()

find

void find()

replace

void replace()

undo

void undo()

redo

void redo()

cut

void cut()

copy

void copy()

paste

void paste()

selectAll

void selectAll()

clear

void clear()

canUndo

boolean canUndo()

canRedo

boolean canRedo()

canCut

boolean canCut()

canCopy

boolean canCopy()

canPaste

boolean canPaste()

canClear

boolean canClear()

canSelectAll

boolean canSelectAll()

canFind

boolean canFind()

canReplace

boolean canReplace()

getLineOfOffset

int getLineOfOffset(int offset)

getLineEndOffset

int getLineEndOffset(int offset)

getLineText

java.lang.String getLineText(int line)

remove

void remove(int offset,
            int len)

insertString

void insertString(int offset,
                  java.lang.String text)

getCaretLine

int getCaretLine()

getCaretXY

java.awt.Point getCaretXY()

beginCompoundEdit

void beginCompoundEdit(boolean start)

endCompoundEdit

void endCompoundEdit(boolean start)

setCaretVisibleAlways

void setCaretVisibleAlways(boolean visible)

addDocumentListener

void addDocumentListener(javax.swing.event.DocumentListener listener)

removeDocumentListener

void removeDocumentListener(javax.swing.event.DocumentListener listener)

addCaretListener

void addCaretListener(javax.swing.event.CaretListener listener)

removeCaretListener

void removeCaretListener(javax.swing.event.CaretListener listener)

doCompleteWord

void doCompleteWord(java.awt.event.KeyEvent e)

setKeyEventInterceptor

void setKeyEventInterceptor(java.awt.event.KeyListener listener)

processKeyEvent

void processKeyEvent(java.awt.event.KeyEvent e)

getInputHandler

java.awt.event.KeyListener getInputHandler()

setTokenMarker

void setTokenMarker(EditorTokenMarker marker)

read

void read(java.io.Reader reader)
          throws java.io.IOException
Throws:
java.io.IOException

getDocument

javax.swing.text.Document getDocument()

setDocument

void setDocument(javax.swing.text.Document doc)

setLineWrap

void setLineWrap(boolean wrap)

setWordWrap

void setWordWrap(boolean wrap)

setTabSize

void setTabSize(int tabSize)

getTabSize

int getTabSize()

Skip navigation links


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