|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jidesoft.gauge.NeedleDescriptor
public class NeedleDescriptor
A class that contains the name and shape of a needle. Instances of this class may be returned by methods that determine whether a point (esp. the cursor location) is currently over a needle.
Constructor Summary | |
---|---|
NeedleDescriptor(String needleName,
Shape needleShape)
Create a NeedleDescriptor object from the name of the needle and its rendered Shape. |
|
NeedleDescriptor(String needleName,
Shape needleShape,
int index)
Create a NeedleDescriptor object from the name of the needle and its rendered Shape. |
Method Summary | |
---|---|
int |
getIndex()
Returns the index of the needle in the list of needles maintained by the dial |
String |
getNeedleName()
Returns the name of the needle |
Shape |
getNeedleShape()
Returns the shape of the needle |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NeedleDescriptor(String needleName, Shape needleShape)
needleName
- the name of the needleneedleShape
- the rendered shape of the needleShape
public NeedleDescriptor(String needleName, Shape needleShape, int index)
needleName
- the name of the needleneedleShape
- the rendered shape of the needleShape
Method Detail |
---|
public String getNeedleName()
public Shape getNeedleShape()
public int getIndex()
public String toString()
toString
in class Object
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |