Method Summary |
|
public void | addListeners(ModifyListener modifyListener, Listener listener) adds listener to unit and spinner as for Modify event listeners ;
Adds modify listener to unit. |
public double | getSpacing() |
public Spinner | getSpinner() |
public Combo | getUnit() |
public boolean | isPixelsSelected() Returns true if this spacer is in Pixel Units. |
public void | removeListeners(ModifyListener modifyListener, Listener listener) Removes listeners from unit and spinner. |
public void | setPixelSpacing(double spacing) Sets this spacer to be in pixel space and set the value of the spinner. |
public void | setSpinnerProperties() Sets the spinner to the correct setting for the unit. |
public void | setWorldSpacing(double value) Sets the unit and spinner in this spacer to the correct value. |
public static double | spinnerUnit(int digitsInSpinner) |
public boolean | validatePixels(SpacerController otherSpacer) Updates otherSpacer to be in the same unit as this if it is in world space. |
public boolean | validateWorld(SpacerController otherSpacer) Updates otherSpacer to be in the same unit as this if it is in pixel space. |