StarOffice 5.2 API
reverse engineered by classdoc

java.awt
Class TextComponent

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.TextComponent
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
Direct Known Subclasses:
java.awt.TextArea

public synchronized class TextComponent
extends java.awt.Component

See Also:
Serialized Form

Field Summary
(package private)  boolean editable
           
(package private)  int selectionEnd
           
(package private)  int selectionStart
           
private static long serialVersionUID
           
(package private)  java.lang.String text
           
private  int textComponentSerializedDataVersion
           
protected  java.awt.event.TextListener textListener
           
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, LOCK, RIGHT_ALIGNMENT, TOP_ALIGNMENT, actionListenerK, adjustmentListenerK, background, componentListener, componentListenerK, componentSerializedDataVersion, containerListenerK, cursor, enabled, eventMask, focusListener, focusListenerK, font, foreground, height, incRate, isInc, itemListenerK, keyListener, keyListenerK, locale, minSize, mouseListener, mouseListenerK, mouseMotionListener, mouseMotionListenerK, name, nameExplicitlySet, newEventsOnly, parent, peer, popups, prefSize, textListenerK, valid, visible, width, windowListenerK, x, y
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
(package private) TextComponent(java.lang.String s)
           
 
Method Summary
 void addTextListener(java.awt.event.TextListener tl)
           
(package private)  boolean areInputMethodsEnabled()
           
(package private)  boolean eventEnabled(java.awt.AWTEvent awte)
           
 int getCaretPosition()
           
 java.lang.String getSelectedText()
           
 int getSelectionEnd()
           
 int getSelectionStart()
           
 java.lang.String getText()
           
 boolean isEditable()
           
protected  java.lang.String paramString()
           
protected  void processEvent(java.awt.AWTEvent awte)
           
protected  void processTextEvent(java.awt.event.TextEvent te)
           
private  void readObject(java.io.ObjectInputStream ois)
           
 void removeNotify()
           
 void removeTextListener(java.awt.event.TextListener tl)
           
 void select(int i1, int i2)
           
 void selectAll()
           
 void setCaretPosition(int i)
           
 void setEditable(boolean b)
           
 void setSelectionEnd(int i)
           
 void setSelectionStart(int i)
           
 void setText(java.lang.String s)
           
private  void writeObject(java.io.ObjectOutputStream oos)
           
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addKeyListener, addMouseListener, addMouseMotionListener, addNotify, bounds, checkImage, checkImage, constructComponentName, contains, contains, createImage, createImage, deliverEvent, disable, disableEvents, dispatchEvent, dispatchEventImpl, doLayout, enable, enable, enableEvents, getAlignmentX, getAlignmentY, getBackground, getBounds, getColorModel, getComponentAt, getComponentAt, getCursor, getFont, getFontMetrics, getForeground, getGraphics, getInputContext, getLocale, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getName, getNativeContainer, getParent, getPeer, getPreferredSize, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hide, imageUpdate, inside, invalidate, isEnabled, isFocusTraversable, isShowing, isValid, isVisible, keyDown, keyUp, layout, lightweightPrint, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paint, paintAll, postEvent, postsOldMouseEvents, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processFocusEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setCursor, setEnabled, setFont, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, update, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

editable

boolean editable

selectionEnd

int selectionEnd

selectionStart

int selectionStart

serialVersionUID

private static final long serialVersionUID

text

java.lang.String text

textComponentSerializedDataVersion

private int textComponentSerializedDataVersion

textListener

protected transient java.awt.event.TextListener textListener
Constructor Detail

TextComponent

TextComponent(java.lang.String s)
Method Detail

addTextListener

public void addTextListener(java.awt.event.TextListener tl)

areInputMethodsEnabled

boolean areInputMethodsEnabled()

eventEnabled

boolean eventEnabled(java.awt.AWTEvent awte)

getCaretPosition

public int getCaretPosition()

getSelectedText

public java.lang.String getSelectedText()

getSelectionEnd

public int getSelectionEnd()

getSelectionStart

public int getSelectionStart()

getText

public java.lang.String getText()

isEditable

public boolean isEditable()

paramString

protected java.lang.String paramString()

processEvent

protected void processEvent(java.awt.AWTEvent awte)

processTextEvent

protected void processTextEvent(java.awt.event.TextEvent te)

readObject

private void readObject(java.io.ObjectInputStream ois)
                 throws java.lang.ClassNotFoundException,
                        java.io.IOException

removeNotify

public void removeNotify()

removeTextListener

public void removeTextListener(java.awt.event.TextListener tl)

select

public void select(int i1,
                   int i2)

selectAll

public void selectAll()

setCaretPosition

public void setCaretPosition(int i)

setEditable

public void setEditable(boolean b)

setSelectionEnd

public void setSelectionEnd(int i)

setSelectionStart

public void setSelectionStart(int i)

setText

public void setText(java.lang.String s)

writeObject

private void writeObject(java.io.ObjectOutputStream oos)
                  throws java.io.IOException

StarOffice 5.2 API
reverse engineered by classdoc