|
JavaView® v2.12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--jv.object.PsObject
|
+--jv.number.PuComplexP
Object class for PuComplex to have a name and an InfoPanel.
| 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 |
public PuComplexP(java.lang.String aName,
PsUpdateIf aParent)
public PuComplexP(java.lang.String aName,
PsUpdateIf aParent,
double aReal)
public PuComplexP(java.lang.String aName,
PsUpdateIf aParent,
PuComplex u)
public PuComplexP(java.lang.String aName,
PsUpdateIf aParent,
double aReal,
double anImag)
| Method Detail |
public void set(double aReal,
double anImag)
public void set(PuComplex aComplex)
public void setReal(double aReal)
public void setImag(double anImag)
public double getReal()
public double getImag()
public PuComplex getValue()
public void copy(PuComplex u)
public boolean update(java.lang.Object anObject)
update in class PsObjectjv.object.PsObjectPsObject.setParent(PsUpdateIf),
PsObject.getFather(),
PsObject.addUpdateListener(PsUpdateIf)public void showRectPanel()
public void showPolarPanel()
public void setRealBounds(double aMin,
double aMax,
double aLine,
double aPage)
public void setRealBounds(double aMin,
double aMax)
public void setImagBounds(double aMin,
double aMax,
double aLine,
double aPage)
public void setImagBounds(double aMin,
double aMax)
public void setRadiusBounds(double aMin,
double aMax,
double aLine,
double aPage)
public void setRadiusBounds(double aMin,
double aMax)
public void setAngleBounds(double aMin,
double aMax,
double aLine,
double aPage)
public void setAngleBounds(double aMin,
double aMax)
|
JavaView® v2.12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||