ElegantJ Trees Java API Specification v1.1

com.elegantj.awt.tree
Class TextAreaAWTTreeCellEditor

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.TextComponent
          extended byjava.awt.TextArea
              extended bycom.elegantj.awt.tree.TextAreaAWTTreeCellEditor
All Implemented Interfaces:
javax.accessibility.Accessible, AWTTreeCellEditor, java.util.EventListener, java.awt.event.FocusListener, java.awt.image.ImageObserver, java.awt.event.KeyListener, java.awt.MenuContainer, java.io.Serializable

public class TextAreaAWTTreeCellEditor
extends java.awt.TextArea
implements AWTTreeCellEditor, java.awt.event.FocusListener, java.awt.event.KeyListener

TextAreaAWTTreeCellEditor is the awt textarea provides the cell editor for the AWTTree which implements the AWTTreeCellEditor

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class java.awt.TextArea
java.awt.TextArea.AccessibleAWTTextArea
 
Nested classes inherited from class java.awt.TextComponent
java.awt.TextComponent.AccessibleAWTTextComponent
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
 
Fields inherited from class java.awt.TextArea
SCROLLBARS_BOTH, SCROLLBARS_HORIZONTAL_ONLY, SCROLLBARS_NONE, SCROLLBARS_VERTICAL_ONLY
 
Fields inherited from class java.awt.TextComponent
textListener
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
TextAreaAWTTreeCellEditor()
           
 
Method Summary
 void focusGained(java.awt.event.FocusEvent e)
          Implementation of the FocusListener
 void focusLost(java.awt.event.FocusEvent e)
          Implementation of the FocusListener
 java.awt.Component getAWTTreeCellEditorComponent(AWTTree tree, java.lang.Object value, boolean isSelected, boolean expanded, boolean leaf, AWTTreeNode node)
          Returns the cell editor
 java.awt.Dimension getPreferredSize()
          Overriden the getPreferredSize
 java.lang.Object getTreeCellEditorValue()
          Returns the cell editor's value
 void keyPressed(java.awt.event.KeyEvent e)
          Implementation of the key listener
 void keyReleased(java.awt.event.KeyEvent e)
          Implementation of the key listener
 void keyTyped(java.awt.event.KeyEvent e)
          Implementation of the key listener
 void setTreeCellEditorValue(java.lang.Object value)
          Sets the cell editor's value
 
Methods inherited from class java.awt.TextArea
addNotify, append, appendText, getAccessibleContext, getColumns, getMinimumSize, getMinimumSize, getPreferredSize, getRows, getScrollbarVisibility, insert, insertText, minimumSize, minimumSize, paramString, preferredSize, preferredSize, replaceRange, replaceText, setColumns, setRows
 
Methods inherited from class java.awt.TextComponent
addTextListener, enableInputMethods, getBackground, getCaretPosition, getListeners, getSelectedText, getSelectionEnd, getSelectionStart, getText, getTextListeners, isEditable, processEvent, processTextEvent, removeNotify, removeTextListener, select, selectAll, setBackground, setCaretPosition, setEditable, setSelectionEnd, setSelectionStart, setText
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paint, paintAll, postEvent, prepareImage, prepareImage, print, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, update, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextAreaAWTTreeCellEditor

public TextAreaAWTTreeCellEditor()
Method Detail

getAWTTreeCellEditorComponent

public java.awt.Component getAWTTreeCellEditorComponent(AWTTree tree,
                                                        java.lang.Object value,
                                                        boolean isSelected,
                                                        boolean expanded,
                                                        boolean leaf,
                                                        AWTTreeNode node)
Returns the cell editor

Specified by:
getAWTTreeCellEditorComponent in interface AWTTreeCellEditor
Parameters:
tree - The AWTTree
expanded - wheather the node is expanded or not
leaf - wheather node is leaf or not
node - The AWTTreeNode
Returns:
The cell editor

setTreeCellEditorValue

public void setTreeCellEditorValue(java.lang.Object value)
Sets the cell editor's value

Specified by:
setTreeCellEditorValue in interface AWTTreeCellEditor
Parameters:
value - The value for the cell editor

getTreeCellEditorValue

public java.lang.Object getTreeCellEditorValue()
Returns the cell editor's value

Specified by:
getTreeCellEditorValue in interface AWTTreeCellEditor
Returns:
The cell editor's value

focusGained

public void focusGained(java.awt.event.FocusEvent e)
Implementation of the FocusListener

Specified by:
focusGained in interface java.awt.event.FocusListener

focusLost

public void focusLost(java.awt.event.FocusEvent e)
Implementation of the FocusListener

Specified by:
focusLost in interface java.awt.event.FocusListener

keyPressed

public void keyPressed(java.awt.event.KeyEvent e)
Implementation of the key listener

Specified by:
keyPressed in interface java.awt.event.KeyListener

keyTyped

public void keyTyped(java.awt.event.KeyEvent e)
Implementation of the key listener

Specified by:
keyTyped in interface java.awt.event.KeyListener

keyReleased

public void keyReleased(java.awt.event.KeyEvent e)
Implementation of the key listener

Specified by:
keyReleased in interface java.awt.event.KeyListener

getPreferredSize

public java.awt.Dimension getPreferredSize()
Overriden the getPreferredSize


ElegantJ Trees Java API Specification v1.1

Submit a bug or feature

Copyright(c)
Elegant Microweb Technologies Pvt. Ltd.
www.elegantmicroweb.com
www.elegantjbeans.com
All Rights Reserved.