Class 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 Detail

      • JTreeHpr

        public JTreeHpr()
    • Method Detail

      • newInstance

        public java.lang.Object newInstance​(RXElement anElement)
        Creates a new instance of class for given element.
        Overrides:
        newInstance in class RJHelper
      • initInstance

        public void initInstance​(javax.swing.JComponent aComponent)
        Initializes the given instance (actually called the first time an owner is set).
        Overrides:
        initInstance in class RJHelper
      • getStringValue

        public java.lang.String getStringValue​(javax.swing.JComponent aComponent)
        Returns a component's value as a string.
        Overrides:
        getStringValue in class RJHelper
      • getRibsModel

        public RJTreeModel getRibsModel​(javax.swing.JTree aTree)
        Returns a Ribs tree model for a given tree, if available.
      • fromXML

        public void fromXML​(javax.swing.JComponent aComponent,
                            RXArchiver anArchiver,
                            RXElement anElement)
        XML unarchival.
        Overrides:
        fromXML in class RJHelper