|
|||||||||
| 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.MaterialEntry
GUI widget for entering object material color. This is the group of colors that define how a surface responds to lighing. This widget alows setting of all colors at once, or separatly.
| Constructor Summary | |
MaterialEntry(java.lang.String label,
MaterialField field)
Constructs a MaterialEntry. |
|
| Method Summary | |
void |
calcDarkAndLight()
|
void |
calcFromSingle()
|
void |
cleanTask()
|
void |
format(int w,
int h)
|
java.awt.Dimension |
getEntrySize()
Override to return the size of the specialized value entry controls. |
ModelNode |
getField()
Returns data node to effect. |
void |
init(ModelNode field)
|
void |
makeValueUI()
|
void |
onAmbientChanged(EntryEvent e)
|
void |
onDarkside(HWScrollEvent e)
|
void |
onDiffuseChanged(EntryEvent e)
|
void |
onEmissiveChanged(EntryEvent e)
|
void |
onLightside(HWScrollEvent e)
|
void |
onShininessChanged(HWScrollEvent e)
|
void |
onSingleColorChanged(EntryEvent e)
|
void |
onSpecularChanged(EntryEvent e)
|
void |
setField(ModelNode field)
Set data node to effect. |
void |
setValue(ModelNode field)
Override to set value of corisponding data node. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MaterialEntry(java.lang.String label,
MaterialField field)
label - Label to drawfield - Field to return value though.| Method Detail |
public void setField(ModelNode field)
setField in class ValueEntrypublic ModelNode getField()
getField in class ValueEntrypublic void setValue(ModelNode field)
ValueEntry
setValue in class ValueEntryfield - to set topublic void init(ModelNode field)
public void cleanTask()
public void makeValueUI()
public void format(int w,
int h)
public java.awt.Dimension getEntrySize()
ValueEntry
getEntrySize in class ValueEntrypublic void onSingleColorChanged(EntryEvent e)
public void onLightside(HWScrollEvent e)
public void onDarkside(HWScrollEvent e)
public void calcFromSingle()
public void calcDarkAndLight()
public void onAmbientChanged(EntryEvent e)
public void onDiffuseChanged(EntryEvent e)
public void onSpecularChanged(EntryEvent e)
public void onEmissiveChanged(EntryEvent e)
public void onShininessChanged(HWScrollEvent e)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||