Documentation of 'jvx.rsrc.PsModelInfo' Java class
PsModelInfo ("JavaView Reference Manual")
"JavaView? v5.03.003"
jvx.rsrc

Class PsModelInfo

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, PsUpdateIf, PjWorkshopIf


    public final class PsModelInfo
    extends PjWorkshop
    All information about a geometry model required for submission to the Electronic Geometry Models server.
    See Also:
    Serialized Form
    Author:
    Konrad Polthier
    Version:
    06.03.03, 3.50 revised (kp) Superclass changed to PjWorkshop from PsObject.
    16.12.01, 3.01 revised (kp) Increment number of files and references.
    20.06.01, 3.00 revised (kp) Moved from package jv.rsrc to jvx.rsrc.
    09.01.01, 2.50 revised (kp) Description element moved into own class PsGeometryInfo.
    08.01.01, 2.00 revised (kp) Implement version 2.0 of eg-model.dtd.
    20.12.00, 1.50 revised (kp) Beautifications, adjust file formats.
    16.04.00, 1.40 revised (kp) Extends from PsObject again.
    26.03.00, 1.30 revised (kp) Auto-generation of files when run inside JavaView.
    21.03.00, 1.20 revised (kp) Adjusted to validated DTD version 0.91.
    25.02.00, 1.10 revised (kp) Superclass changed from PsObject to PsXmlSrc.
    11.02.00, 1.00 created (kp)
    • Constructor Detail

      • PsModelInfo

        public PsModelInfo()
    • Method Detail

      • init

        public void init()
        Initialize and reset resource.
        Overrides:
        init in class PjWorkshop
      • clone

        public java.lang.Object clone()
        Duplicate object by recursively cloning all instance variables except inspector panels and lists of registered listeners.
        Overrides:
        clone in class PsObject
        See Also:
        PsObject.copy(PsObject)
        Version:
        09.01.01, 1.00 revised (kp)
        09.01.01, 1.00 created (kp)
      • runningInsideJavaView

        public static final void runningInsideJavaView(boolean insideJavaView)
      • getRsrcFile

        public java.lang.String getRsrcFile()
        Get resource file name. Only assigned if file has already been read.
        Returns:
        name of XML file
      • getAuthorInfo

        public PsAuthorInfo getAuthorInfo()
        Get author information.
      • setAuthorInfo

        public void setAuthorInfo(PsAuthorInfo authorInfo)
        Set author information.
      • getGeometryInfo

        public PsGeometryInfo getGeometryInfo()
        Get geometry information.
      • setGeometryInfo

        public void setGeometryInfo(PsGeometryInfo geometryInfo)
        Set geometry information.
      • read

        public boolean read(java.lang.String rsrcFile)
        Read an XML file and create a tree structure of instances of type PsXmlNode.
        Parameters:
        rsrcFile - full name of resource file
        Returns:
        true if loading was successful
      • getXml

        public PsXmlSrc getXml()
        Create an XML tree with data from this instance, for example, to print to file.
        Returns:
        XML tree filled with data from this instance.
      • setXml

        public void setXml(PsXmlSrc src)
        Fill this instance with data from an XML source, for example, previously read from file. At first, this method resets the data structure by calling init().
        Parameters:
        src - XML source used to fill this instance with data.
        Version:
        08.01.01, 2.00 revised (kp) Implemented version 2.0 of eg-model.dtd.
        11.02.00, 1.00 created (kp)
      • update

        public boolean update(java.lang.Object event)
        Description copied from class: PjWorkshop
        Updates the geometry if this workshop has changed, i.e. if the event is this or null. Also propagates update() to superclass with the original argument event.

        Some subclasses may register themselves as update listener of the geometry of this workshop. In order to prevent an update loop, this method safely uses isUpdateSender() when updating the geometry.

        Specified by:
        update in interface PsUpdateIf
        Overrides:
        update in class PjWorkshop
        Parameters:
        event - sender of this update.
        Returns:
        true if update was correctly handled by superclass.
        See Also:
        PsObject.setParent(PsUpdateIf), PsObject.getFather(), PsObject.addUpdateListener(PsUpdateIf)
"JavaView? v5.03.003"

"

The software JavaView? is copyright protected. All Rights Reserved.
"

You see the box below because you did not login.