Package com.ribs.helpers
Class JTreeHpr
- java.lang.Object
-
- com.ribs.RJHelper
-
- com.ribs.helpers.JTreeHpr
-
public class JTreeHpr extends RJHelper
This class is a simple JTree subclass to support Ribs archival and to support Ribs unified accessor model.Copyright (c) 2004 ReportMill Software, Inc. All Rights Reserved. Contact ReportMill
.
-
-
Constructor Summary
Constructors Constructor Description JTreeHpr()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfromXML(javax.swing.JComponent aComponent, RXArchiver anArchiver, RXElement anElement)XML unarchival.RJTreeModelgetRibsModel(javax.swing.JTree aTree)Returns a Ribs tree model for a given tree, if available.java.lang.StringgetStringValue(javax.swing.JComponent aComponent)Returns a component's value as a string.voidinitInstance(javax.swing.JComponent aComponent)Initializes the given instance (actually called the first time an owner is set).java.lang.ObjectnewInstance(RXElement anElement)Creates a new instance of class for given element.RXElementtoXML(javax.swing.JComponent aComponent, RXArchiver anArchiver)XML archival.-
Methods inherited from class com.ribs.RJHelper
add, focusGained, focusLost, fromXMLDeep, get, getActionListener, getAutoscrolls, getAutosizing, getBackground, getBindKey, getBooleanValue, getBoolValue, getCallback, getChangeListener, getColorValue, getComponent, getComponentCount, getFloatValue, getFocusListener, getForeground, getIntValue, getMaster, getMaximumSize, getMinimumSize, getOwner, getRibHeight, getRibWidth, getRibX, getRibY, getSendActionOnFocusLost, getSubstitutionClassString, getValue, isOpaque, performBindKeyGet, performBindKeySet, sendAction, setAutoscrolls, setAutosizing, setBackground, setBindKey, setCallback, setForeground, setMaster, setMaximumSize, setMinimumSize, setOpaque, setOwner, setSendActionOnFocusLost, setSubstitutionClassString, setValue, setValue, setValue, setValue, setValue, setValue, setValue, takeFloatValue, takeIntValue, testOutBeanBag, toXMLDeep
-
-
-
-
Method Detail
-
newInstance
public java.lang.Object newInstance(RXElement anElement)
Creates a new instance of class for given element.- Overrides:
newInstancein classRJHelper
-
initInstance
public void initInstance(javax.swing.JComponent aComponent)
Initializes the given instance (actually called the first time an owner is set).- Overrides:
initInstancein classRJHelper
-
getStringValue
public java.lang.String getStringValue(javax.swing.JComponent aComponent)
Returns a component's value as a string.- Overrides:
getStringValuein classRJHelper
-
getRibsModel
public RJTreeModel getRibsModel(javax.swing.JTree aTree)
Returns a Ribs tree model for a given tree, if available.
-
toXML
public RXElement toXML(javax.swing.JComponent aComponent, RXArchiver anArchiver)
XML archival.
-
fromXML
public void fromXML(javax.swing.JComponent aComponent, RXArchiver anArchiver, RXElement anElement)XML unarchival.
-
-