|
|||||||||
| 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.NodeSetEntry
GUI widget for entering a selection set of DataNode's.
| Nested Class Summary | |
class |
NodeSetEntry.ExpandSection
|
| Constructor Summary | |
NodeSetEntry()
Constructs a NodeSetEntry |
|
NodeSetEntry(java.lang.String _label,
java.lang.Object listener,
java.lang.String callback)
Constructs a NodeSetEntry |
|
NodeSetEntry(java.lang.String label,
java.lang.Object listener,
java.lang.String callback,
java.util.Vector selectionSet)
Constructs a NodeSetEntry |
|
| Method Summary | |
void |
beginEntry(harmonic.viewer3D.Task parentTask)
Starts 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 |
fillListBox()
|
void |
finishEntry()
Called when entry is properly finished. |
void |
finishTask()
Implements Task by calling finishEntry(), and sending events |
void |
format(int w,
int h)
|
void |
formatTall(int w,
int h)
|
void |
formatWide(int w,
int h)
|
java.awt.Dimension |
getEntrySize()
Override to return the size of the specialized value entry controls. |
ModelNode[] |
getSelection()
Returns selection set. |
Selector |
getSelector()
|
ShapeNode[] |
getShapeSelection()
Returns selection set. |
void |
init()
Called when entry is posted for the first time |
void |
makeUI()
|
void |
onAll()
|
void |
onNone()
|
void |
onPartMode(java.awt.event.ItemEvent e)
|
void |
onPickMode(java.awt.event.ItemEvent e)
|
void |
onPolygon()
|
void |
onRemove()
|
void |
onShapeSelection(java.awt.event.ItemEvent e)
|
void |
onSubsetList(java.awt.event.ItemEvent e)
|
void |
onText(java.awt.event.TextEvent e)
|
void |
selectionChanged(SelectionEvent event)
Selection has changed. |
void |
setExactCount(int n)
Set exact count requirement. |
void |
setExclude(ShapeNode[] exclude)
Sets reference comparison exclusion filter. |
void |
setField(ModelNode node)
|
void |
setFilter(java.lang.String[] filter)
Sets type filter. |
void |
setInclude(ShapeNode[] include)
Sets reference comparison inclusion filter. |
void |
setMinCount(int n)
Set minimum count requirement. |
void |
setPickInvisible(boolean b)
Set pick invisible switch in selector. |
void |
setPickMode(int pickMode)
Set pick mode in selector. |
void |
setSelection(java.lang.Object[] set)
Sets selection set. |
void |
setSelection(java.util.Vector s)
Sets selection set. |
void |
setStaticSelector(Selector s)
|
void |
setSubsetList(java.util.Vector s)
|
void |
showTentativeInBox(ModelNode niw)
|
void |
taskStateChanged(harmonic.viewer3D.event.TaskEvent event)
|
static void |
updateActive()
|
void |
updateDialogContenseFromSelection()
|
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 NodeSetEntry()
public NodeSetEntry(java.lang.String _label,
java.lang.Object listener,
java.lang.String callback)
public NodeSetEntry(java.lang.String label,
java.lang.Object listener,
java.lang.String callback,
java.util.Vector selectionSet)
label - Label to drawlistener - Listener to send ObjectEvents tocallback - Listeners callback, declared as fnname(EntryEvent)| Method Detail |
public void setStaticSelector(Selector s)
public Selector getSelector()
public void setSubsetList(java.util.Vector s)
public void setExclude(ShapeNode[] exclude)
public void setFilter(java.lang.String[] filter)
public void setInclude(ShapeNode[] include)
public void setMinCount(int n)
public void setExactCount(int n)
public void setPickMode(int pickMode)
public void setPickInvisible(boolean b)
public void setSelection(java.util.Vector s)
public void setSelection(java.lang.Object[] set)
public ModelNode[] getSelection()
public ShapeNode[] getShapeSelection()
public void setField(ModelNode node)
setField in class ValueEntrypublic void updateField()
ValueEntry
updateField in class ValueEntrypublic void selectionChanged(SelectionEvent event)
SelectionListener
selectionChanged in interface SelectionListenerpublic void makeUI()
public void expand()
ValueEntry
expand in class ValueEntrypublic void contract()
ValueEntry
contract in class ValueEntry
public void format(int w,
int h)
public void formatWide(int w,
int h)
public void formatTall(int w,
int h)
public java.awt.Dimension getEntrySize()
ValueEntry
getEntrySize in class ValueEntrypublic void init()
ValueEntry
init in class ValueEntrypublic void fillListBox()
public void beginEntry(harmonic.viewer3D.Task parentTask)
beginEntry in class ValueEntrypublic void finishTask()
ValueEntry
finishTask in interface harmonic.viewer3D.TaskfinishTask in class ValueEntrypublic void finishEntry()
ValueEntry
finishEntry in class ValueEntrypublic void cancelEntry()
ValueEntry
cancelEntry in class ValueEntrypublic void cleanTask()
cleanTask in interface harmonic.viewer3D.Taskpublic void onShapeSelection(java.awt.event.ItemEvent e)
public void onSubsetList(java.awt.event.ItemEvent e)
public void showTentativeInBox(ModelNode niw)
public void updateDialogContenseFromSelection()
public static void updateActive()
public void onText(java.awt.event.TextEvent e)
public void onPartMode(java.awt.event.ItemEvent e)
public void onPickMode(java.awt.event.ItemEvent e)
public void taskStateChanged(harmonic.viewer3D.event.TaskEvent event)
taskStateChanged in interface harmonic.viewer3D.event.TaskListenerpublic void onPolygon()
public void onNone()
public void onAll()
public void onRemove()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||