|
|||||||||
| 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.AxisEntry
GUI widget for entring an axis, which is a vector with a position. One way this information can be entered is to pick two points of the viewport, using PointEntry and a VectorEntry contained within this. This entry also has options for using the current UCS x axis, y axis or z axis.
| Constructor Summary | |
AxisEntry(java.lang.String _label,
java.lang.Object listener,
java.lang.String callback,
harmonic.meshGeom.math.Pnt3f pos,
harmonic.meshGeom.math.Vec3f dir)
Constructs an AxisEntry. |
|
AxisEntry(java.lang.String _label,
harmonic.meshGeom.math.Pnt3f pos,
harmonic.meshGeom.math.Vec3f dir)
Constructs an AxisEntry. |
|
| Method Summary | |
void |
aquirePerMethod()
|
void |
beginEntry(harmonic.viewer3D.Task parentTask)
Start input. |
void |
cleanTask()
|
void |
finishEntry()
Called when entry is properly finished. |
void |
format(int w,
int h)
|
harmonic.meshGeom.math.Vec3f |
getAxisDirection()
Return current axis direction. |
harmonic.meshGeom.math.Pnt3f |
getAxisPosition()
Return current axis position. |
java.awt.Dimension |
getPreferredSize()
This either calles refPanel.getPreferredSize() or getEntrySize() depending on what is showing. |
void |
onMethodChoice(java.awt.event.ItemEvent e)
|
void |
onPointEntry(EntryEvent e)
|
void |
onVectorEntry(EntryEvent e)
|
void |
setField(ModelNode f)
Set field to apply axis to. |
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 AxisEntry(java.lang.String _label,
harmonic.meshGeom.math.Pnt3f pos,
harmonic.meshGeom.math.Vec3f dir)
pos - Initial axis positiondir - Initial axis direction
public AxisEntry(java.lang.String _label,
java.lang.Object listener,
java.lang.String callback,
harmonic.meshGeom.math.Pnt3f pos,
harmonic.meshGeom.math.Vec3f dir)
listener - Listener to send AxixEvents tocallback - Listeners callback, declared as fnname(AxisEvent)pos - Initial axis positiondir - Initial axis direction| Method Detail |
public harmonic.meshGeom.math.Pnt3f getAxisPosition()
public harmonic.meshGeom.math.Vec3f getAxisDirection()
public void format(int w,
int h)
public void setField(ModelNode f)
setField in class ValueEntrypublic void beginEntry(harmonic.viewer3D.Task parentTask)
beginEntry in class ValueEntrypublic void finishEntry()
ValueEntry
finishEntry in class ValueEntrypublic void cleanTask()
public void onMethodChoice(java.awt.event.ItemEvent e)
public void aquirePerMethod()
public void onPointEntry(EntryEvent e)
public void onVectorEntry(EntryEvent e)
public void updateField()
ValueEntry
updateField in class ValueEntrypublic java.awt.Dimension getPreferredSize()
ValueEntry
getPreferredSize in class ValueEntry
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||