artofillusion
Class TransformDialog
java.lang.Object
buoy.event.EventSource
buoy.widget.Widget
buoy.widget.WidgetContainer
buoy.widget.WindowWidget
buoy.widget.BDialog
artofillusion.TransformDialog
public class TransformDialog
- extends buoy.widget.BDialog
This class implements the dialog box which is used for the "Object Layout" and
"Transform Object" commands. It allows the user enter values for the position,
orientation, and size of an object. The initial values are passed to the constructor
in values[]. If this argument is omitted, all of the fields will initially be blank.
If transformLabels is true, the rows will be labelled "Move", "Rotate", and "Scale".
If it is false, they will be labelled "Position", "Orientation", and "Size".
|
Constructor Summary |
TransformDialog(buoy.widget.BFrame parent,
java.lang.String title,
boolean transformLabels,
boolean extraOptions)
|
TransformDialog(buoy.widget.BFrame parent,
java.lang.String title,
double[] values,
boolean transformLabels,
boolean extraOptions)
|
|
Method Summary |
boolean |
applyToChildren()
Determine whether the operation should apply to unselected children of selected objects. |
boolean |
clickedOk()
Determine whether the user clicked the OK button. |
double[] |
getValues()
Get the array of values the user entered. |
boolean |
useSelectionCenter()
Determine whether rotations should be around the center of each object, or the center
of the entire selection. |
| Methods inherited from class buoy.widget.BDialog |
getChildCount, getChildren, getComponent, getMenuBar, getTitle, isModal, isResizable, pack, remove, removeAll, setMenuBar, setModal, setResizable, setTitle |
| Methods inherited from class buoy.widget.WindowWidget |
dispose, getContent, getDefaultButton, isVisible, layoutChildren, setBounds, setContent, setDefaultButton, setVisible, toBack, toFront |
| Methods inherited from class buoy.widget.WidgetContainer |
isOpaque, setOpaque |
| Methods inherited from class buoy.widget.Widget |
addEventLink, dispatchEvent, getBackground, getBounds, getCursor, getFont, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, hasFocus, isEnabled, isFocusable, repaint, requestFocus, setBackground, setCursor, setEnabled, setFocusable, setFont, setName |
| Methods inherited from class buoy.event.EventSource |
addEventLink, addEventLink, removeEventLink |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransformDialog
public TransformDialog(buoy.widget.BFrame parent,
java.lang.String title,
double[] values,
boolean transformLabels,
boolean extraOptions)
TransformDialog
public TransformDialog(buoy.widget.BFrame parent,
java.lang.String title,
boolean transformLabels,
boolean extraOptions)
getValues
public double[] getValues()
- Get the array of values the user entered.
clickedOk
public boolean clickedOk()
- Determine whether the user clicked the OK button.
applyToChildren
public boolean applyToChildren()
- Determine whether the operation should apply to unselected children of selected objects.
useSelectionCenter
public boolean useSelectionCenter()
- Determine whether rotations should be around the center of each object, or the center
of the entire selection.
Copyright © 1999-2008 by Peter Eastman.