|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--HWPanel
|
+--harmonic.mz.gui.ValueEntry
|
+--harmonic.mz.entries.VectorEntry
GUI widget for seting a vector value. This internally uses two PointEntry to get the head and tail of the vector.
| Constructor Summary | |
VectorEntry(java.lang.String label,
java.lang.Object listener,
java.lang.String callback,
harmonic.meshGeom.math.Tuple3f vector)
Constructs a VectorEntry |
|
VectorEntry(java.lang.String label,
harmonic.meshGeom.math.Tuple3f vector)
Constructs a VectorEntry |
|
| Method Summary | |
void |
assignFromReadout()
Override to assign value from readout. |
void |
assignFromVectorText(java.lang.String vectorText)
|
void |
beginEntry(harmonic.viewer3D.Task parentTask)
Starts taking input. |
void |
cancelEntry()
Called when entry or thing owning entry is canceled, as the elements of the task tree are canceled. |
void |
cleanTask()
|
void |
contract()
Shrink to small size. |
void |
expand()
Expand to full size. |
void |
finishEntry()
Called when entry is properly finished. |
void |
format(int w,
int h)
|
static void |
gcsToUcs(harmonic.meshGeom.math.Vec3f pnt)
|
java.awt.Dimension |
getEntrySize()
Override to return the size of the specialized value entry controls. |
harmonic.meshGeom.math.Pnt3f |
getHead()
Returns head point. |
harmonic.meshGeom.math.Pnt3f |
getTail()
Returns tail point. |
harmonic.meshGeom.math.Vec3f |
getVector()
Returns vector value. |
void |
initReadout()
Override to assign readout from value. |
void |
makeSettingsUI()
|
void |
makeValueUI()
|
void |
onHead(EntryEvent e)
|
void |
onTail(EntryEvent e)
|
void |
onVectorTextEntered(java.awt.event.TextEvent e)
|
void |
setField(ModelNode f)
Set effected data node |
void |
setHead(harmonic.meshGeom.math.Pnt3f pnt)
Sets head point. |
void |
setTail(harmonic.meshGeom.math.Pnt3f pnt)
Sets tail point. |
void |
setVector(harmonic.meshGeom.math.Vec3f v)
Sets vector value. |
static void |
ucsToGcs(harmonic.meshGeom.math.Vec3f pnt)
|
static void |
ucsToView(harmonic.meshGeom.math.Vec3f pnt)
|
void |
updateField()
This is called by notifyListeners we have a EntryEvent.VALUE_CHANGED. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public VectorEntry(java.lang.String label,
harmonic.meshGeom.math.Tuple3f vector)
public VectorEntry(java.lang.String label,
java.lang.Object listener,
java.lang.String callback,
harmonic.meshGeom.math.Tuple3f vector)
| Method Detail |
public void makeValueUI()
public void makeSettingsUI()
public void expand()
ValueEntry
expand in class ValueEntrypublic void contract()
ValueEntry
contract in class ValueEntrypublic void setField(ModelNode f)
setField in class ValueEntrypublic void setVector(harmonic.meshGeom.math.Vec3f v)
public harmonic.meshGeom.math.Vec3f getVector()
public void updateField()
ValueEntry
updateField in class ValueEntrypublic harmonic.meshGeom.math.Pnt3f getHead()
public harmonic.meshGeom.math.Pnt3f getTail()
public void setHead(harmonic.meshGeom.math.Pnt3f pnt)
public void setTail(harmonic.meshGeom.math.Pnt3f pnt)
public void format(int w,
int h)
public java.awt.Dimension getEntrySize()
ValueEntry
getEntrySize in class ValueEntrypublic static void ucsToGcs(harmonic.meshGeom.math.Vec3f pnt)
public static void gcsToUcs(harmonic.meshGeom.math.Vec3f pnt)
public static void ucsToView(harmonic.meshGeom.math.Vec3f pnt)
public void onTail(EntryEvent e)
public void onHead(EntryEvent e)
public void assignFromReadout()
ValueEntry
assignFromReadout in class ValueEntrypublic void onVectorTextEntered(java.awt.event.TextEvent e)
public void assignFromVectorText(java.lang.String vectorText)
public void initReadout()
ValueEntry
initReadout in class ValueEntrypublic void beginEntry(harmonic.viewer3D.Task parentTask)
beginEntry in class ValueEntrypublic void finishEntry()
ValueEntry
finishEntry in class ValueEntrypublic void cancelEntry()
ValueEntry
cancelEntry in class ValueEntrypublic void cleanTask()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||