ucar.unidata.ui
Class HtmlComponent

java.lang.Object
  extended by ucar.unidata.collab.SharableImpl
      extended by ucar.unidata.collab.PropertiedThing
          extended by ucar.unidata.ui.ComponentHolder
              extended by ucar.unidata.ui.HtmlComponent
All Implemented Interfaces:
PropertyChangeListener, EventListener, Sharable

public class HtmlComponent
extends ComponentHolder

Version:
$Revision: 1.13 $
Author:
IDV Development Team

Field Summary
static String ATTR_TEXT
           
protected  JLabel label
           
protected  JTextArea textArea
           
 
Fields inherited from class ucar.unidata.ui.ComponentHolder
ATTR_NAME, BORDER_NAMES, BORDERS, displayBtn, header, isRemoved, nameFld, parent
 
Fields inherited from class ucar.unidata.collab.PropertiedThing
propertiesDialog
 
Constructor Summary
HtmlComponent()
          _more_
HtmlComponent(String name, String text)
          _more_
 
Method Summary
protected  boolean applyProperties()
          _more_
 JComponent doMakeContents()
          _more_
protected  void getPropertiesComponents(List comps, int tabIdx)
          _more_
 String getText()
          Get the Text property.
 String getTypeName()
          _more_
 void initWith(Element node)
          _more_
 void setText(String value)
          Set the Text property.
 
Methods inherited from class ucar.unidata.ui.ComponentHolder
clearContents, doMakeHeader, doRemove, getBeingShown, getBorder, getBorderLayoutLocation, getCategory, getContents, getHierachicalName, getIcon, getInternalFrame, getInternalFrameShown, getLayoutRect, getName, getParent, getPopupMenuItems, getRoot, getShowHeader, makeTree, print, removeDisplayComponent, setBorder, setBorder, setBorderLayoutLocation, setCategory, setInternalFrameShown, setLayoutRect, setName, setParent, setShowHeader, setState, showPopup, toString, wrapContents
 
Methods inherited from class ucar.unidata.collab.PropertiedThing
addPropertyChangeListener, doApplyProperties, firePropertyChange, firePropertyChange, getPropertyListeners, getPropertyTabs, isShowing, propertyChange, removePropertyChangeListener, showProperties, showProperties
 
Methods inherited from class ucar.unidata.collab.SharableImpl
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ATTR_TEXT

public static final String ATTR_TEXT
See Also:
Constant Field Values

textArea

protected JTextArea textArea

label

protected JLabel label
Constructor Detail

HtmlComponent

public HtmlComponent()
_more_


HtmlComponent

public HtmlComponent(String name,
                     String text)
_more_

Parameters:
name - _more_
Method Detail

initWith

public void initWith(Element node)
Description copied from class: ComponentHolder
_more_

Overrides:
initWith in class ComponentHolder
Parameters:
node - _more_

doMakeContents

public JComponent doMakeContents()
_more_

Overrides:
doMakeContents in class ComponentHolder
Returns:
_more_

getTypeName

public String getTypeName()
_more_

Overrides:
getTypeName in class ComponentHolder
Returns:
_more_

getPropertiesComponents

protected void getPropertiesComponents(List comps,
                                       int tabIdx)
_more_

Overrides:
getPropertiesComponents in class ComponentHolder
Parameters:
comps - _more_
tabIdx - _more_

applyProperties

protected boolean applyProperties()
_more_

Overrides:
applyProperties in class ComponentHolder
Returns:
_more_

setText

public void setText(String value)
Set the Text property.

Parameters:
value - The new value for Text

getText

public String getText()
Get the Text property.

Returns:
The Text