|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.swing.gauge.GaugeConstraint | +--com.klg.jclass.swing.gauge.RadialConstraint
A RadialConstraint
is one that provides layout
information for a component that needs to be placed on
a circular gauge. It provides information to the layout
by giving a distance from the center and an angle from
the horizontal of the specified circular gauge.
Field Summary | |
protected double |
angle
The angle at which to place this label |
Fields inherited from class com.klg.jclass.swing.gauge.GaugeConstraint |
extent, gauge |
Constructor Summary | |
RadialConstraint(com.klg.jclass.swing.gauge.JCGauge gauge,
double extent,
double angle)
Constructor for RadialConstraint using a JComponent
as the component. |
Method Summary | |
double |
getAngle()
Returns the angle at which this component will be placed. |
void |
setAngle(double angle)
Sets the angle at which this component will be placed. |
String |
toString()
Return a string version of this constraint |
Methods inherited from class com.klg.jclass.swing.gauge.GaugeConstraint |
getExtent, getGauge, setExtent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected double angle
Constructor Detail |
public RadialConstraint(com.klg.jclass.swing.gauge.JCGauge gauge, double extent, double angle)
RadialConstraint
using a JComponent
as the component.
extent
- The distance from the center of circle as a proportion of the
radiusangle
- The angle at which this component will be placed, and at
"extent" distance from the centerMethod Detail |
public double getAngle()
public void setAngle(double angle)
angle
- The angle at which this component will be placedpublic String toString()
toString
in class Object
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |