StarOffice 5.2 API
reverse engineered by classdoc

com.sun.star.comp.jawt.peer
Class TextComponentPeer

java.lang.Object
  |
  +--com.sun.star.comp.jawt.peer.ComponentPeer
        |
        +--com.sun.star.comp.jawt.peer.TextComponentPeer
All Implemented Interfaces:
java.awt.peer.ComponentPeer, java.awt.peer.TextComponentPeer, sun.awt.UpdateClient, com.sun.star.comp.jawt.peer.WinArgs
Direct Known Subclasses:
com.sun.star.comp.jawt.peer.TextAreaPeer, com.sun.star.comp.jawt.peer.TextFieldPeer

synchronized class TextComponentPeer
extends com.sun.star.comp.jawt.peer.ComponentPeer
implements java.awt.peer.TextComponentPeer


Field Summary
(package private)  int textComponentId
           
(package private)  int textListenerId
           
(package private)  boolean twoCharBreak
           
 
Fields inherited from class com.sun.star.comp.jawt.peer.ComponentPeer
POSSIZE_HEIGHT, POSSIZE_POS, POSSIZE_POSSIZE, POSSIZE_SIZE, POSSIZE_WIDTH, POSSIZE_X, POSSIZE_Y, VCL_BUTTONLEFT_MASK, VCL_BUTTONMIDDLE_MASK, VCL_BUTTONRIGHT_MASK, VCL_MOD1_MASK, VCL_MOD2_MASK, VCL_SHIFT_MASK, disposed, focusListenerId, font, fontMetricsImpl, instances, keyListenerId, listenersAdded, mouseListener, mouseMotionListenerId, paintListenerId, target, toolkit, updateX1, updateX2, updateY1, updateY2, windowListener, xDeviceRef, xInterfaceRef, xLayoutConstraintsRef, xVclWindowPeerRef, xWindowPeerRef, xWindowRef
 
Fields inherited from interface com.sun.star.comp.jawt.peer.WinArgs
WA_BORDER, WA_CENTER, WA_CLOSEABLE, WA_DEFBUTTON, WA_DEF_CANCEL, WA_DEF_NO, WA_DEF_OK, WA_DEF_RETRY, WA_DEF_YES, WA_DROPDOWN, WA_FULLSIZE, WA_GROUP, WA_HSCROLL, WA_LEFT, WA_MINSIZE, WA_MOVEABLE, WA_NONE, WA_OK, WA_OK_CANCEL, WA_OPTIMUMSIZE, WA_PASSWORD, WA_READONLY, WA_RETRY_CANCEL, WA_RIGHT, WA_SHOW, WA_SIZEABLE, WA_SORT, WA_SPIN, WA_VSCROLL, WA_YES_NO, WA_YES_NO_CANCEL
 
Constructor Summary
protected TextComponentPeer(com.sun.star.comp.jawt.peer.Toolkit t)
           
 
Method Summary
protected  void addListener()
           
protected  void createInterface()
           
protected  void createListener()
           
protected  void deleteListener()
           
protected  void freeInterface()
           
 int getCaretPosition()
           
 int getSelectionEnd()
           
 int getSelectionStart()
           
 java.lang.String getText()
           
(package private)  int getXTextComponentRef()
           
protected  void removeListener()
           
 void select(int i1, int i2)
           
 void setCaretPosition(int i)
           
 void setEditable(boolean b)
           
protected  void setProperties()
           
 void setText(java.lang.String s)
           
 void textValueChanged()
           
 
Methods inherited from class com.sun.star.comp.jawt.peer.ComponentPeer
addRepaintArea, cb_focusGained, cb_focusLost, cb_keyPressed, cb_keyReleased, cb_keyTyped, cb_mouseDragged, cb_mouseMoved, cb_repaint, checkImage, createImage, createImage, createWindowDescriptor, disable, dispose, enable, finalize, getBounds, getColorModel, getFontMetrics, getGraphics, getLocationOnScreen, getMinimumSize, getPreferredSize, getTarget, getToolkit, getXDeviceRef, getXInterfaceRef, getXVclWindowPeerRef, getXWindowPeerRef, getXWindowRef, handleEvent, hide, inherit, init, invalidate, isFocusTraversable, mapModifiers, minimumSize, paint, postEvent, preferredSize, prepareImage, print, repaint, requestFocus, reshape, setBackground, setBounds, setCursor, setEnabled, setFont, setForeground, setVisible, show, toString, update, updateClient
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.peer.ComponentPeer
checkImage, createImage, createImage, disable, dispose, enable, getColorModel, getFontMetrics, getGraphics, getLocationOnScreen, getMinimumSize, getPreferredSize, getToolkit, handleEvent, hide, isFocusTraversable, minimumSize, paint, preferredSize, prepareImage, print, repaint, requestFocus, reshape, setBackground, setBounds, setCursor, setEnabled, setFont, setForeground, setVisible, show
 

Field Detail

textComponentId

int textComponentId

textListenerId

int textListenerId

twoCharBreak

boolean twoCharBreak
Constructor Detail

TextComponentPeer

protected TextComponentPeer(com.sun.star.comp.jawt.peer.Toolkit t)
Method Detail

addListener

protected void addListener()

createInterface

protected void createInterface()

createListener

protected void createListener()

deleteListener

protected void deleteListener()

freeInterface

protected void freeInterface()

getCaretPosition

public int getCaretPosition()
Specified by:
getCaretPosition in interface java.awt.peer.TextComponentPeer

getSelectionEnd

public int getSelectionEnd()
Specified by:
getSelectionEnd in interface java.awt.peer.TextComponentPeer

getSelectionStart

public int getSelectionStart()
Specified by:
getSelectionStart in interface java.awt.peer.TextComponentPeer

getText

public java.lang.String getText()
Specified by:
getText in interface java.awt.peer.TextComponentPeer

getXTextComponentRef

int getXTextComponentRef()

removeListener

protected void removeListener()

select

public void select(int i1,
                   int i2)
Specified by:
select in interface java.awt.peer.TextComponentPeer

setCaretPosition

public void setCaretPosition(int i)
Specified by:
setCaretPosition in interface java.awt.peer.TextComponentPeer

setEditable

public void setEditable(boolean b)
Specified by:
setEditable in interface java.awt.peer.TextComponentPeer

setProperties

protected void setProperties()

setText

public void setText(java.lang.String s)
Specified by:
setText in interface java.awt.peer.TextComponentPeer

textValueChanged

public void textValueChanged()

StarOffice 5.2 API
reverse engineered by classdoc