Class BoundaryPanel
java.lang.Object | +----java.awt.Component | +----java.awt.Canvas | +----Plane | +----BoundaryPanel
- public class BoundaryPanel
- extends Plane
- Author:
- Jonathan A. Poritz
- boundarypanellabel
- A reference to the label in outputpanel declaring the portion of the boundary of hyperbolic space which is currently visible.
- calcmaxpow
- The maxpow calculated for a Ford domain with the current trace -- not necessarily valid for a Dirichlet domain with the same trace, but used nonetheless.
- chosenmaxpow
- The overriding maxpow chosen by the user if so desired taken from maxpowchoice.
- CX
- The abstract x-coordinate of the left side of the boundary plane display.
- CY
- The abstract y-coordinate of the upper edge of the boundary plane display.
- diskorcircle
- A reference to the choice in outputpanel of displaying disks, circles or circle with labeling indices.
- dist
- The currently selected axis distance.
- fordordirichlet
- A reference to the choice in outputpanel of computing Ford or Dirichlet domains.
- nc
- An array of BoundaryCircles with negative indices.
- pc
- An array of BoundaryCircles with positive indices.
- prev
- The location of a mousedown in this plane, to compute the extent of a drag that may occur; in abstract coordinates.
- previ
- The location of a mousedown in this plane, to compute the extent of a drag that may occur; in pixel coordinates.
- SX
- The width, in abstract units, of the boundary plane display.
- SY
- The height, in abstract units, of the boundary plane display.
- usecalcmaxpow
- A boolean telling if we should use the calcmaxpow or some other choice, to be found in chosenmaxpow.
- X
- The width, in pixels, of the boundary plane display.
- Y
- The height, in pixels, of the boundary plane display.
- z11
- The (1,1) entry of the element cannonically associated with the current trace.
- BoundaryPanel(Label, Choice, Choice)
- Constructor for BoundaryPanels.
- paint(Graphics)
- Paint the BoundaryPanel by painting the basic plane, calling the paint on each of the current negative and positive BoundaryCircles, then drawing the tickmarks.
- update()
- Recreates the current positive and negative BoundaryCircles and then repaints, called when some relevant parameter has changed.
- zoom(double)
- Scales the size of the visible window onto the boundary of hyperbolic space.
z11
public Complex z11
- The (1,1) entry of the element cannonically associated with the current
trace.
public double dist
- The currently selected axis distance.
public Label boundarypanellabel
- A reference to the label in outputpanel declaring the portion of
the boundary of hyperbolic space which is currently visible.
- See Also:
- boundarypanellabel
public int calcmaxpow
- The maxpow calculated for a Ford domain with the current trace -- not
necessarily valid for a Dirichlet domain with the same trace, but used
nonetheless.
public int chosenmaxpow
- The overriding maxpow chosen by the user if so desired taken from
maxpowchoice.
public boolean usecalcmaxpow
- A boolean telling if we should use the calcmaxpow or some other
choice, to be found in chosenmaxpow.
public Choice diskorcircle
- A reference to the choice in outputpanel of displaying disks,
circles or circle with labeling indices.
- See Also:
- diskorcircle
public Choice fordordirichlet
- A reference to the choice in outputpanel of computing Ford or
Dirichlet domains.
- See Also:
- fordordirichlet
protected BoundaryCircle pc[]
- An array of BoundaryCircles with positive indices.
protected BoundaryCircle nc[]
- An array of BoundaryCircles with negative indices.
protected double prev[]
- The location of a mousedown in this plane, to compute the extent of
a drag that may occur; in abstract coordinates.
protected int previ[]
- The location of a mousedown in this plane, to compute the extent of
a drag that may occur; in pixel coordinates.
public static final double CX
- The abstract x-coordinate of the left side of the boundary plane display.
public static final double CY
- The abstract y-coordinate of the upper edge of the boundary plane display.
public static final double SX
- The width, in abstract units, of the boundary plane display.
public static final double SY
- The height, in abstract units, of the boundary plane display.
public static final int X
- The width, in pixels, of the boundary plane display. Good defaults are:
- 200
- for small screens,
- 300
- for large screens
public static final int Y
- The height, in pixels, of the boundary plane display. Good defaults are:
- 200
- for small screens,
- 300
- for large screens
BoundaryPanel
public BoundaryPanel(Label bdrypnllbl, Choice dskrcrcl, Choice frdrdrchlt)
- Constructor for BoundaryPanels.
- Parameters:
- bdrypnllbl - the label describing the current window on the boundary
plane
- dskrcrcl - the choice of display styles of the isometric or equidistant circles
- frdrdrchlt - the choice of making Ford or Dirichlet domains.
- dskrcrcl - the choice of display styles of the isometric or equidistant circles
paint
public synchronized void paint(Graphics g)
- Paint the BoundaryPanel by painting the basic plane, calling the paint
on each of the current negative and positive BoundaryCircles, then
drawing the tickmarks.
public void zoom(double factor)
- Scales the size of the visible window onto the boundary of
hyperbolic space.
- Parameters:
- factor - the scaling factor, can be any positive number
public synchronized void update()
- Recreates the current positive and negative BoundaryCircles and then
repaints, called when some relevant parameter has changed.