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

Class PwHistogram

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


    public class PwHistogram
    extends PjWorkshop
    Workshop shows histogram information of geometries.
    Since:
    JavaView 3.99.045 moved to jvx from dev.
    See Also:
    PuHistogram, Serialized Form
    Author:
    Konrad Polthier
    Version:
    02.09.09, 2.00 moved (kp) Moved to jvx from dev.
    27.05.07, 1.10 revised (kp) Adjusted to modified histogram.
    21.05.07, 1.00 created (kp)
    • Constructor Detail

      • PwHistogram

        public PwHistogram()
        Constructor
    • Method Detail

      • init

        public void init()
        Initialization
        Overrides:
        init in class PjWorkshop
      • reset

        public void reset()
        Reset workshop and geometry to original state.
        Overrides:
        reset in class PjWorkshop
      • close

        public void close()
        Close workshop and remove workshop from geometry as update listener. Instance variables of this workshop are nulled.
        Overrides:
        close in class PjWorkshop
      • setGeometry

        public void setGeometry(PgElementSet geom)
        Assign geometry to be analyzed.
        Parameters:
        geom - geometry for analysis
      • 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)
      • getItemType

        public int getItemType()
        Get the item type which determines the displayed data. Possible types are like PwHistogram#ITEM_EDGE_LENGTH etc.
        Returns:
        the current item type
      • setItemType

        public void setItemType(int itemType)
        Set the item type which determines the displayed data. Possible types are like PwHistogram#ITEM_EDGE_LENGTH etc.
        Parameters:
        itemType - the new item type
"JavaView? v5.03.003"

"

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

You see the box below because you did not login.