KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > awt > TextComponent

java.awt
Class TextComponent

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.TextComponent
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
Direct Known Subclasses:
TextArea, TextField
See Also:
Top Examples, Source Code

public void addNotify()
See Also:
removeNotify(), Component
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void addTextListener(TextListener l)
See Also:
getTextListeners(), removeTextListener(java.awt.event.TextListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void enableInputMethods(boolean enable)
See Also:
Component.processKeyEvent(java.awt.event.KeyEvent)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public AccessibleContext getAccessibleContext()
See Also:
Component, Accessible
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Color getBackground()
See Also:
setBackground(Color), Component
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getCaretPosition()
See Also:
setCaretPosition(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public InputMethodRequests getInputMethodRequests()
See Also:
Component.addInputMethodListener(java.awt.event.InputMethodListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public <T extends EventListener> T[] getListeners(Class<T> listenerType)
See Also:
getTextListeners(), ClassCastException, Component
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getSelectedText()
See Also:
select(int, int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getSelectionEnd()
See Also:
getSelectionStart(), setSelectionEnd(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getSelectionStart()
See Also:
getSelectionEnd(), setSelectionStart(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getText()
See Also:
setText(java.lang.String)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public TextListener[] getTextListeners()
See Also:
removeTextListener(java.awt.event.TextListener), addTextListener(java.awt.event.TextListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isEditable()
See Also:
setEditable(boolean)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected String paramString()
See Also:
Component
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void processEvent(AWTEvent e)
See Also:
Component.processMouseWheelEvent(java.awt.event.MouseWheelEvent), Component.processHierarchyEvent(java.awt.event.HierarchyEvent), Component.processInputMethodEvent(java.awt.event.InputMethodEvent), Component.processMouseMotionEvent(java.awt.event.MouseEvent), Component.processMouseEvent(java.awt.event.MouseEvent), Component.processKeyEvent(java.awt.event.KeyEvent), Component.processFocusEvent(java.awt.event.FocusEvent), Component.processComponentEvent(java.awt.event.ComponentEvent)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void processTextEvent(TextEvent e)
See Also:
Component.enableEvents(long)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeNotify()
See Also:
Component.addNotify(), Component.isDisplayable()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeTextListener(TextListener l)
See Also:
getTextListeners(), addTextListener(java.awt.event.TextListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void select(int selectionStart,
                   int selectionEnd)
See Also:
selectAll(), setSelectionEnd(int), setSelectionStart(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void selectAll()
See Also:
select(int, int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setBackground(Color c)
See Also:
getBackground(), Component
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setCaretPosition(int position)
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setEditable(boolean b)
See Also:
isEditable()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setSelectionEnd(int selectionEnd)
See Also:
setSelectionStart(int), getSelectionEnd()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setSelectionStart(int selectionStart)
See Also:
setSelectionEnd(int), getSelectionStart()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setText(String t)
See Also:
getText()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected transient TextListener textListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags