JavaView® v2.00.008

jv.number
Class PuComplexP_IP

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Panel
                    |
                    +--jv.object.PsPanel
                          |
                          +--jv.number.PuComplexP_IP
All Implemented Interfaces:
javax.accessibility.Accessible, java.util.EventListener, java.awt.image.ImageObserver, java.awt.event.ItemListener, java.awt.MenuContainer, PsUpdateIf, java.io.Serializable

public class PuComplexP_IP
extends PsPanel
implements java.awt.event.ItemListener

Info panel for PuComplexP.

Version:
17.03.00 1.00 revised (ur) TabPanel replaced by CardLayout.
06.03.00 0.99 created (ur)
Author:
Ulrich Reitebuch
See Also:
Serialized Form

Inner classes inherited from class java.awt.Panel
java.awt.Panel.AccessibleAWTPanel
 
Inner classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Inner classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent
 
Field Summary
protected  boolean m_bRect
           
protected  boolean m_bUpdateSender
           
protected  java.awt.CardLayout m_cardLayout
           
protected  java.awt.Panel m_cardPanel
           
protected  java.awt.Checkbox m_cPolar
           
protected  java.awt.Checkbox m_cRect
           
protected  java.awt.CheckboxGroup m_gRectPolar
           
protected  PuDouble m_im
           
protected  java.lang.String m_nameOfComplex
           
protected  PsPanel m_pCardPolar
           
protected  PsPanel m_pCardRect
           
protected  PuDouble m_phase
           
protected  PsPanel m_pRectPolar
           
protected  PuComplexP m_puComplexP
           
protected  PuDouble m_radius
           
protected  PuDouble m_re
           
 
Fields inherited from class jv.object.PsPanel
BORDER_GROOVE, BORDER_LINE, BORDER_NONE, BORDER_SUNK, m_borderType, m_bOutOfDate, m_image, m_insetSize, m_language, m_lTitle, m_parent
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
PuComplexP_IP()
          Constructor
 
Method Summary
 void checkPolarBounds()
          Adjust bounds of radius and angle slider if necessary.
 void checkRectBounds()
          Adjust bounds of re and im sliders if necessary.
 void init()
          Initialisation of panels.
 void itemStateChanged(java.awt.event.ItemEvent event)
          Handle item event invoked from Checkbox.
 void setAngleBounds(double aMin, double aMax)
          Set Boundary of PuDouble angle.
 void setAngleBounds(double aMin, double aMax, double aLine, double aPage)
          Set Boundary of PuDouble angle.
 void setImagBounds(double aMin, double aMax)
          Set Boundary of PuDouble im.
 void setImagBounds(double aMin, double aMax, double aLine, double aPage)
          Set Boundary of PuDouble im.
 void setParent(PsUpdateIf aParent)
          Set Parent and store it in m_puComplexP.
 void setRadiusBounds(double aMin, double aMax)
          Set Boundary of PuDouble radius.
 void setRadiusBounds(double aMin, double aMax, double aLine, double aPage)
          Set Boundary of PuDouble radius.
 void setRealBounds(double aMin, double aMax)
          Set Boundary of PuDouble re.
 void setRealBounds(double aMin, double aMax, double aLine, double aPage)
          Set Boundary of PuDouble re.
 void showPolarPanel()
          Switch tabPanel to show polar panel.
 void showRectPanel()
          Switch tabPanel to show rect panel.
 boolean update(java.lang.Object event)
          Update the panel whenever the parent has changed somewhere else.
 
Methods inherited from class jv.object.PsPanel
addLabelComponent, addLine, addSubTitle, addTextField, addTitle, drawBorder, drawBorder, drawText, getFather, getInsets, getLanguage, getTitle, hasTitle, instanceOf, paint, setBorderType, setImage, setInsetSize, setOutOfDate, setTitle, setVisible, update
 
Methods inherited from class java.awt.Panel
addNotify, getAccessibleContext
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFont, setLayout, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface jv.object.PsUpdateIf
getName
 

Field Detail

m_cardLayout

protected java.awt.CardLayout m_cardLayout

m_cardPanel

protected java.awt.Panel m_cardPanel

m_gRectPolar

protected java.awt.CheckboxGroup m_gRectPolar

m_cRect

protected java.awt.Checkbox m_cRect

m_cPolar

protected java.awt.Checkbox m_cPolar

m_pRectPolar

protected PsPanel m_pRectPolar

m_pCardRect

protected PsPanel m_pCardRect

m_pCardPolar

protected PsPanel m_pCardPolar

m_re

protected PuDouble m_re

m_im

protected PuDouble m_im

m_radius

protected PuDouble m_radius

m_phase

protected PuDouble m_phase

m_nameOfComplex

protected java.lang.String m_nameOfComplex

m_puComplexP

protected PuComplexP m_puComplexP

m_bRect

protected boolean m_bRect

m_bUpdateSender

protected boolean m_bUpdateSender
Constructor Detail

PuComplexP_IP

public PuComplexP_IP()
Constructor
Method Detail

init

public void init()
Initialisation of panels.
Overrides:
init in class PsPanel

update

public boolean update(java.lang.Object event)
Update the panel whenever the parent has changed somewhere else. Method is invoked from the parent or its superclasses or from the children.
Overrides:
update in class PsPanel
Following copied from interface: jv.object.PsUpdateIf
Parameters:
event - carries a lot of information
Returns:
true if event has been handled, otherwise false
See Also:
PsObject, PsUpdateIf.getFather(), PsUpdateIf.setParent(PsUpdateIf)

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent event)
Handle item event invoked from Checkbox.
Specified by:
itemStateChanged in interface java.awt.event.ItemListener

checkPolarBounds

public void checkPolarBounds()
Adjust bounds of radius and angle slider if necessary.

checkRectBounds

public void checkRectBounds()
Adjust bounds of re and im sliders if necessary.

setParent

public void setParent(PsUpdateIf aParent)
Set Parent and store it in m_puComplexP.
Overrides:
setParent in class PsPanel
Following copied from interface: jv.object.PsUpdateIf
Parameters:
aParent - will receive events which this does not handle
See Also:
PsUpdateIf.getFather(), PsUpdateIf.update(Object)

showRectPanel

public void showRectPanel()
Switch tabPanel to show rect panel.

showPolarPanel

public void showPolarPanel()
Switch tabPanel to show polar panel.

setRealBounds

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

setRealBounds

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

setImagBounds

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

setImagBounds

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

setRadiusBounds

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

setRadiusBounds

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

setAngleBounds

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

setAngleBounds

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

JavaView® v2.00.008

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