net.sf.jguiraffe.gui.platform.swing.builder.components
Class SwingTextAreaHandler

java.lang.Object
  extended by net.sf.jguiraffe.gui.platform.swing.builder.components.SwingComponentHandler
      extended by net.sf.jguiraffe.gui.platform.swing.builder.components.SwingTextHandler
          extended by net.sf.jguiraffe.gui.platform.swing.builder.components.SwingTextAreaHandler
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.DocumentListener, ComponentHandler, SwingEventSource

 class SwingTextAreaHandler
extends SwingTextHandler

A specific Swing component handler implementation that deals with text area components.

This class inherits most of its functionality from its ancestor, the base handler class for text components. The main difference to this class is the fact that a text area is wrapped in a scroll pane.

Version:
$Id: SwingTextAreaHandler.java 25 2006-04-12 16:34:28Z oheger $
Author:
Oliver Heger

Constructor Summary
SwingTextAreaHandler(javax.swing.JTextArea textArea)
          Creates a new instance of SwingTextAreaHandler and initializes it with the text area to manage.
 
Method Summary
 java.lang.Object getOuterComponent()
          Returns the outer most component.
 
Methods inherited from class net.sf.jguiraffe.gui.platform.swing.builder.components.SwingTextHandler
changedUpdate, getData, getTextComponent, getType, insertUpdate, registerChangeListener, removeUpdate, setData, unregisterChangeListener
 
Methods inherited from class net.sf.jguiraffe.gui.platform.swing.builder.components.SwingComponentHandler
addActionListener, addChangeListener, addFocusListener, fireChangeEvent, getComponent, getJComponent, isEnabled, removeActionListener, removeChangeListener, removeFocusListener, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwingTextAreaHandler

public SwingTextAreaHandler(javax.swing.JTextArea textArea)
Creates a new instance of SwingTextAreaHandler and initializes it with the text area to manage.

Parameters:
textArea - the text area
Method Detail

getOuterComponent

public java.lang.Object getOuterComponent()
Returns the outer most component. This is the scroll pane.

Specified by:
getOuterComponent in interface ComponentHandler
Overrides:
getOuterComponent in class SwingComponentHandler
Returns:
the outer component


Copyright 2007 null. All Rights Reserved.