JavaView® v2.12

jv.number
Class PuComplexP

java.lang.Object
  |
  +--jv.object.PsObject
        |
        +--jv.number.PuComplexP
All Implemented Interfaces:
java.lang.Cloneable, PsUpdateIf, java.io.Serializable

public class PuComplexP
extends PsObject

Object class for PuComplex to have a name and an InfoPanel.

Version:
07.02.00, 1.00 created (ur)
Author:
Ulrich Reitebuch
See Also:
Serialized Form

Fields inherited from class jv.object.PsObject
HAS_CONFIG_PANEL, HAS_INFO_PANEL, HAS_MATERIAL_PANEL, HAS_TEXTURE_PANEL, INSPECTOR_INFO, INSPECTOR_INFO_EXT, IS_DELETED, IS_FIXED, IS_SELECTED, IS_USED, NUM_TAGS
 
Constructor Summary
PuComplexP(java.lang.String aName, PsUpdateIf aParent)
          Constructor
PuComplexP(java.lang.String aName, PsUpdateIf aParent, double aReal)
          Constructor
PuComplexP(java.lang.String aName, PsUpdateIf aParent, double aReal, double anImag)
          Constructor
PuComplexP(java.lang.String aName, PsUpdateIf aParent, PuComplex u)
          Constructor
 
Method Summary
 void copy(PuComplex u)
          Copy re and im part of PuComplex.
 double getImag()
          Get imag part of complex.
 double getReal()
          Get real part of complex.
 PuComplex getValue()
          Get value of complex.
 void set(double aReal, double anImag)
          Set value of complex.
 void set(PuComplex aComplex)
          Set value of complex.
 void setAngleBounds(double aMin, double aMax)
          Set bounds of PuDouble angle.
 void setAngleBounds(double aMin, double aMax, double aLine, double aPage)
          Set bounds of PuDouble angle.
 void setImag(double anImag)
          Set imag part of complex.
 void setImagBounds(double aMin, double aMax)
          Set bounds of PuDouble im.
 void setImagBounds(double aMin, double aMax, double aLine, double aPage)
          Set bounds of PuDouble im.
 void setRadiusBounds(double aMin, double aMax)
          Set bounds of PuDouble radius.
 void setRadiusBounds(double aMin, double aMax, double aLine, double aPage)
          Set bounds of PuDouble radius.
 void setReal(double aReal)
          Set real part of complex.
 void setRealBounds(double aMin, double aMax)
          Set bounds of PuDouble re.
 void setRealBounds(double aMin, double aMax, double aLine, double aPage)
          Set bounds of PuDouble re.
 void showPolarPanel()
          Switch InfoPanel to representation in polar coordinates.
 void showRectPanel()
          Switch InfoPanel to representation in rectangular coordinates.
 boolean update(java.lang.Object anObject)
          Catch update events sent from info panel.
 
Methods inherited from class jv.object.PsObject
addInspector, addUpdateListener, assureInspector, clearTag, clone, clone, clone, copy, getFather, getInfoPanel, getInspector, getName, getNumObjects, hasInspector, hasTag, hasUpdateListener, init, instanceOf, instanceOf, removeInspector, removeUpdateListener, setName, setParent, setTag, toString, updatePanels
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PuComplexP

public PuComplexP(java.lang.String aName,
                  PsUpdateIf aParent)
Constructor

PuComplexP

public PuComplexP(java.lang.String aName,
                  PsUpdateIf aParent,
                  double aReal)
Constructor

PuComplexP

public PuComplexP(java.lang.String aName,
                  PsUpdateIf aParent,
                  PuComplex u)
Constructor

PuComplexP

public PuComplexP(java.lang.String aName,
                  PsUpdateIf aParent,
                  double aReal,
                  double anImag)
Constructor
Method Detail

set

public void set(double aReal,
                double anImag)
Set value of complex.

set

public void set(PuComplex aComplex)
Set value of complex.

setReal

public void setReal(double aReal)
Set real part of complex.

setImag

public void setImag(double anImag)
Set imag part of complex.

getReal

public double getReal()
Get real part of complex.

getImag

public double getImag()
Get imag part of complex.

getValue

public PuComplex getValue()
Get value of complex.

copy

public void copy(PuComplex u)
Copy re and im part of PuComplex.

update

public boolean update(java.lang.Object anObject)
Catch update events sent from info panel.
Overrides:
update in class PsObject
Following copied from class: jv.object.PsObject
See Also:
PsObject.setParent(PsUpdateIf), PsObject.getFather(), PsObject.addUpdateListener(PsUpdateIf)

showRectPanel

public void showRectPanel()
Switch InfoPanel to representation in rectangular coordinates.

showPolarPanel

public void showPolarPanel()
Switch InfoPanel to representation in polar coordinates.

setRealBounds

public void setRealBounds(double aMin,
                          double aMax,
                          double aLine,
                          double aPage)
Set bounds of PuDouble re.

setRealBounds

public void setRealBounds(double aMin,
                          double aMax)
Set bounds of PuDouble re.

setImagBounds

public void setImagBounds(double aMin,
                          double aMax,
                          double aLine,
                          double aPage)
Set bounds of PuDouble im.

setImagBounds

public void setImagBounds(double aMin,
                          double aMax)
Set bounds of PuDouble im.

setRadiusBounds

public void setRadiusBounds(double aMin,
                            double aMax,
                            double aLine,
                            double aPage)
Set bounds of PuDouble radius.

setRadiusBounds

public void setRadiusBounds(double aMin,
                            double aMax)
Set bounds of PuDouble radius.

setAngleBounds

public void setAngleBounds(double aMin,
                           double aMax,
                           double aLine,
                           double aPage)
Set bounds of PuDouble angle.

setAngleBounds

public void setAngleBounds(double aMin,
                           double aMax)
Set bounds of PuDouble angle.

JavaView® v2.12

The software JavaView® is copyright protected. All Rights Reserved.