Skip navigation links


com.essbase.eas.ui.editor.editpane
Class RAFContent

java.lang.Object
  extended by com.essbase.eas.ui.editor.editpane.RAFContent

All Implemented Interfaces:
javax.swing.text.AbstractDocument.Content

public class RAFContent
extends java.lang.Object
implements javax.swing.text.AbstractDocument.Content

Title: Editor using the JEditPane Description: Copyright: Copyright (c) 2003 Company: Hyperion Solutions, Inc.

Version:
1.0
Author:
Sree Menon

Nested Class Summary
static class RAFContent.RAFContentPosition
           

 

Constructor Summary
RAFContent()
           
RAFContent(RandomAccessFileListModel model)
           

 

Method Summary
 javax.swing.text.Position createPosition(int offset)
           
 void dispose()
           
 void getChars(int start, int len, javax.swing.text.Segment txt)
           
 java.lang.String getLineText(int line)
           
 java.lang.String getString(int start, int len)
           
 javax.swing.undo.UndoableEdit insertString(int where, java.lang.String str)
           
 int length()
           
 javax.swing.undo.UndoableEdit remove(int where, int nitems)
           
 void setModel(RandomAccessFileListModel model)
           

 

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

 

Constructor Detail

RAFContent

public RAFContent()

RAFContent

public RAFContent(RandomAccessFileListModel model)

Method Detail

setModel

public void setModel(RandomAccessFileListModel model)

createPosition

public javax.swing.text.Position createPosition(int offset)
                                         throws javax.swing.text.BadLocationException
Specified by:
createPosition in interface javax.swing.text.AbstractDocument.Content
Throws:
javax.swing.text.BadLocationException

length

public int length()
Specified by:
length in interface javax.swing.text.AbstractDocument.Content

insertString

public javax.swing.undo.UndoableEdit insertString(int where,
                                                  java.lang.String str)
                                           throws javax.swing.text.BadLocationException
Specified by:
insertString in interface javax.swing.text.AbstractDocument.Content
Throws:
javax.swing.text.BadLocationException

remove

public javax.swing.undo.UndoableEdit remove(int where,
                                            int nitems)
                                     throws javax.swing.text.BadLocationException
Specified by:
remove in interface javax.swing.text.AbstractDocument.Content
Throws:
javax.swing.text.BadLocationException

getString

public java.lang.String getString(int start,
                                  int len)
                           throws javax.swing.text.BadLocationException
Specified by:
getString in interface javax.swing.text.AbstractDocument.Content
Throws:
javax.swing.text.BadLocationException

getChars

public void getChars(int start,
                     int len,
                     javax.swing.text.Segment txt)
              throws javax.swing.text.BadLocationException
Specified by:
getChars in interface javax.swing.text.AbstractDocument.Content
Throws:
javax.swing.text.BadLocationException

getLineText

public java.lang.String getLineText(int line)

dispose

public void dispose()

Skip navigation links


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