creamtec.webcream.gui.peer
Class WebCreamTextComponentPeer

java.lang.Object
  extended by creamtec.webcream.gui.peer.WebCreamComponentPeer
      extended by creamtec.webcream.gui.peer.WebCreamTextComponentPeer
All Implemented Interfaces:
java.awt.peer.ComponentPeer, java.awt.peer.TextComponentPeer
Direct Known Subclasses:
WebCreamTextAreaPeer, WebCreamTextFieldPeer

public class WebCreamTextComponentPeer
extends WebCreamComponentPeer
implements java.awt.peer.TextComponentPeer


Field Summary
 
Fields inherited from interface java.awt.peer.ComponentPeer
DEFAULT_OPERATION, NO_EMBEDDED_CHECK, RESET_OPERATION, SET_BOUNDS, SET_CLIENT_SIZE, SET_LOCATION, SET_SIZE
 
Constructor Summary
WebCreamTextComponentPeer(java.awt.Component target)
           
 
Method Summary
 long filterEvents(long mask)
           
 int getCaretPosition()
           
 java.awt.Rectangle getCharacterBounds(int i)
           
 int getIndexAtPoint(int x, int y)
           
 java.awt.im.InputMethodRequests getInputMethodRequests()
           
 int getSelectionEnd()
           
 int getSelectionStart()
           
 java.lang.String getText()
           
 void select(int selStart, int selEnd)
           
 void setCaretPosition(int pos)
           
 void setEditable(boolean editable)
           
 void setText(java.lang.String text)
           
 
Methods inherited from class creamtec.webcream.gui.peer.WebCreamComponentPeer
canDetermineObscurity, checkImage, coalescePaintEvent, createBuffers, createDelegate, createImage, createImage, createVolatileImage, destroyBuffers, disable, dispose, enable, flip, getBackBuffer, getBounds, getColorModel, getDelegate, getDelegateComponent, getFontMetrics, getGraphics, getGraphicsConfiguration, getImage, getLocationOnScreen, getMinimumSize, getPreferredSize, getTarget, getToolkit, handleEvent, handlesWheelScrolling, hide, isFocusable, isFocusTraversable, isObscured, isReparentSupported, layout, minimumSize, paint, preferredSize, prepareImage, print, repaint, reparent, requestFocus, requestFocus, reshape, setBackground, setBounds, setBounds, setBounds, setCursor, setDelegate, setDelegateComponent, setEnabled, setFont, setForeground, setImage, setTarget, setVisible, show, updateCursorImmediately
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.awt.peer.ComponentPeer
canDetermineObscurity, checkImage, coalescePaintEvent, createBuffers, createImage, createImage, createVolatileImage, destroyBuffers, disable, dispose, enable, flip, getBackBuffer, getBounds, getColorModel, getFontMetrics, getGraphics, getGraphicsConfiguration, getLocationOnScreen, getMinimumSize, getPreferredSize, getToolkit, handleEvent, handlesWheelScrolling, hide, isFocusable, isObscured, isReparentSupported, layout, minimumSize, paint, preferredSize, prepareImage, print, repaint, reparent, requestFocus, reshape, setBackground, setBounds, setEnabled, setFont, setForeground, setVisible, show, updateCursorImmediately
 

Constructor Detail

WebCreamTextComponentPeer

public WebCreamTextComponentPeer(java.awt.Component target)
Method Detail

setEditable

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

getText

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

setText

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

getSelectionStart

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

getSelectionEnd

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

select

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

setCaretPosition

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

getCaretPosition

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

filterEvents

public long filterEvents(long mask)
Specified by:
filterEvents in interface java.awt.peer.TextComponentPeer

getCharacterBounds

public java.awt.Rectangle getCharacterBounds(int i)
Specified by:
getCharacterBounds in interface java.awt.peer.TextComponentPeer

getIndexAtPoint

public int getIndexAtPoint(int x,
                           int y)
Specified by:
getIndexAtPoint in interface java.awt.peer.TextComponentPeer

getInputMethodRequests

public java.awt.im.InputMethodRequests getInputMethodRequests()
Specified by:
getInputMethodRequests in interface java.awt.peer.TextComponentPeer


Copyright © 2000-2006 CreamTec LLC. All Rights Reserved.