|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
net.sf.j3d.threeD.ui.dialogs.EditLightDialog
public class EditLightDialog
An EditLightDialog object can be used to gather input from a user to specify the settings for a Light object.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JComponent |
|---|
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
EditLightDialog(Light light)
Constructs a new EditLightDialog object that can be used to modify the specified Light object. |
|
| Method Summary | |
|---|---|
void |
apply()
Applies the changes made in this dialog to the Light object being edited and fires the necessary events if the current EventHandler is not set to null. |
void |
closeDialog()
Closes (and disposes) this dialog if it is open. |
void |
eventFired(Event event)
Method called when an event is fired. |
EventHandler |
getEventHandler()
Returns the EventHandler object used by this EditLightDialog object. |
void |
setEventHandler(EventHandler handler)
Sets the EventHandler object used by this EditLightDialog object. |
void |
showDialog()
Shows this dialog in a JFrame. |
void |
updateAllFields()
Updates all fields of this dialog so that they match the Light object being edited. |
void |
updateAttenuationFields()
Updates the attenuation coefficient fields of this dialog so that they match the Light object being edited. |
void |
updateColorFields()
Updates the color fields of this dialog so that they match the Light object being edited. |
void |
updateDirectionFields()
Updates the direction fields of this dialog so that they match the Light object being edited. |
void |
updateIntensityField()
Updates the intensity field of this dialog so that it matches the Light object being edited. |
void |
updateLocationFields()
Updates the location fields of this dialog so that the match the Light object being edited. |
void |
updateSampleFields()
Updates the sample fields of this dialog so that they match the Light object being edited. |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EditLightDialog(Light light)
| Method Detail |
|---|
public void showDialog()
showDialog in interface Dialogpublic void closeDialog()
closeDialog in interface Dialogpublic void apply()
public void updateAllFields()
public void updateLocationFields()
public void updateAttenuationFields()
public void updateSampleFields()
public void updateDirectionFields()
public void updateColorFields()
public void updateIntensityField()
public void eventFired(Event event)
eventFired in interface EventListenerpublic void setEventHandler(EventHandler handler)
setEventHandler in interface EventGeneratorpublic EventHandler getEventHandler()
getEventHandler in interface EventGenerator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||