|
||||||||||
| 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.EditPlaneDialog
public class EditPlaneDialog
An EditPlaneDialog object can be used to allow a user to specify the orientation of a Plane object that is wrapped by a SurfaceUI 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 | |
|---|---|
EditPlaneDialog(SurfaceUI plane)
Constructs a new EditPlaneDialog object that can be used to modify the specified SurfaceUI object. |
|
| Method Summary | |
|---|---|
void |
apply()
Applies the changes made in the dialog to the PlaneUI object being edited and fires the necessary events if the current EventHandler is not set to null. |
void |
closeDialog()
Closes (and disposes) the JFrame this dialog is displayed in. |
void |
eventFired(Event event)
Method called when an event has been fired. |
EventHandler |
getEventHandler()
Returns the EventHandler object used by this EditTriangleDialog object. |
void |
setEventHandler(EventHandler handler)
Sets the EventHandler object used by this EditPlaneDialog object. |
void |
showDialog()
Shows this dialog in a JFrame. |
void |
updateOptions()
Updates the option selected in this dialog so it matches the PlaneUI 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 EditPlaneDialog(SurfaceUI plane)
IllegalArgumentException - If the specified SurfaceUI object does not wrap a Plane object.| Method Detail |
|---|
public void showDialog()
showDialog in interface Dialogpublic void closeDialog()
closeDialog in interface Dialogpublic void apply()
public void updateOptions()
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 | |||||||||