Package com.ribs.helpers
Class JTreeHpr
java.lang.Object
com.ribs.RJHelper
com.ribs.helpers.JTreeHpr
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 <info@reportmill.com>.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
fromXML
(JComponent aComponent, RXArchiver anArchiver, RXElement anElement) XML unarchival.getRibsModel
(JTree aTree) Returns a Ribs tree model for a given tree, if available.getStringValue
(JComponent aComponent) Returns a component's value as a string.void
initInstance
(JComponent aComponent) Initializes the given instance (actually called the first time an owner is set).newInstance
(RXElement anElement) Creates a new instance of class for given element.toXML
(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
-
Constructor Details
-
JTreeHpr
public JTreeHpr()
-
-
Method Details
-
newInstance
Creates a new instance of class for given element.- Overrides:
newInstance
in classRJHelper
-
initInstance
Initializes the given instance (actually called the first time an owner is set).- Overrides:
initInstance
in classRJHelper
-
getStringValue
Returns a component's value as a string.- Overrides:
getStringValue
in classRJHelper
-
getRibsModel
Returns a Ribs tree model for a given tree, if available. -
toXML
XML archival. -
fromXML
XML unarchival.
-