|
Sweet Home 3D 3.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.eteks.sweethome3d.viewcontroller.WizardController
com.eteks.sweethome3d.viewcontroller.BackgroundImageWizardController
public class BackgroundImageWizardController
Wizard controller for background image in plan.
Nested Class Summary | |
---|---|
protected class |
BackgroundImageWizardController.BackgroundImageWizardStepState
Step state superclass. |
static class |
BackgroundImageWizardController.Property
|
static class |
BackgroundImageWizardController.Step
|
Nested classes/interfaces inherited from class com.eteks.sweethome3d.viewcontroller.WizardController |
---|
WizardController.WizardControllerStepState |
Constructor Summary | |
---|---|
BackgroundImageWizardController(Home home,
UserPreferences preferences,
ViewFactory viewFactory,
ContentManager contentManager,
javax.swing.undo.UndoableEditSupport undoSupport)
|
Method Summary | |
---|---|
void |
addPropertyChangeListener(BackgroundImageWizardController.Property property,
java.beans.PropertyChangeListener listener)
Adds the property change listener in parameter to this controller. |
void |
finish()
Changes background image in model and posts an undoable operation. |
ContentManager |
getContentManager()
Returns the content manager of this controller. |
Content |
getImage()
Returns the image content of the background image. |
protected BackgroundImageWizardController.BackgroundImageWizardStepState |
getImageChoiceStepState()
Returns the image choice step state. |
protected BackgroundImageWizardController.BackgroundImageWizardStepState |
getImageOriginStepState()
Returns the image origin step state. |
protected BackgroundImageWizardController.BackgroundImageWizardStepState |
getImageScaleStepState()
Returns the image scale step state. |
java.lang.Float |
getScaleDistance()
Returns the scale distance of the background image. |
float[][] |
getScaleDistancePoints()
Returns the coordinates of the scale distance points of the background image. |
BackgroundImageWizardController.Step |
getStep()
Returns the current step in wizard view. |
protected BackgroundImageWizardController.BackgroundImageWizardStepState |
getStepState()
Returns the current step state. |
protected View |
getStepsView()
Returns the unique wizard view used for all steps. |
float |
getXOrigin()
Returns the abcissa of the origin of the background image. |
float |
getYOrigin()
Returns the ordinate of the origin of the background image. |
void |
removePropertyChangeListener(BackgroundImageWizardController.Property property,
java.beans.PropertyChangeListener listener)
Removes the property change listener in parameter from this controller. |
void |
setImage(Content image)
Sets the image content of the background image. |
void |
setOrigin(float xOrigin,
float yOrigin)
Sets the origin of the background image. |
void |
setScaleDistance(java.lang.Float scaleDistance)
Sets the scale distance of the background image. |
void |
setScaleDistancePoints(float scaleDistanceXStart,
float scaleDistanceYStart,
float scaleDistanceXEnd,
float scaleDistanceYEnd)
Sets the coordinates of the scale distance points of the background image. |
protected void |
setStep(BackgroundImageWizardController.Step step)
Switch in the wizard view to the given step . |
Methods inherited from class com.eteks.sweethome3d.viewcontroller.WizardController |
---|
addPropertyChangeListener, displayView, getStepIcon, getStepView, getTitle, getView, goBackToPreviousStep, goToNextStep, isBackStepEnabled, isLastStep, isNextStepEnabled, isResizable, removePropertyChangeListener, setResizable, setStepState, setTitle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.eteks.sweethome3d.viewcontroller.Controller |
---|
getView |
Constructor Detail |
---|
public BackgroundImageWizardController(Home home, UserPreferences preferences, ViewFactory viewFactory, ContentManager contentManager, javax.swing.undo.UndoableEditSupport undoSupport)
Method Detail |
---|
public void finish()
finish
in class WizardController
public ContentManager getContentManager()
protected BackgroundImageWizardController.BackgroundImageWizardStepState getStepState()
getStepState
in class WizardController
protected BackgroundImageWizardController.BackgroundImageWizardStepState getImageChoiceStepState()
protected BackgroundImageWizardController.BackgroundImageWizardStepState getImageOriginStepState()
protected BackgroundImageWizardController.BackgroundImageWizardStepState getImageScaleStepState()
protected View getStepsView()
protected void setStep(BackgroundImageWizardController.Step step)
step
.
public BackgroundImageWizardController.Step getStep()
public void addPropertyChangeListener(BackgroundImageWizardController.Property property, java.beans.PropertyChangeListener listener)
listener
in parameter to this controller.
public void removePropertyChangeListener(BackgroundImageWizardController.Property property, java.beans.PropertyChangeListener listener)
listener
in parameter from this controller.
public void setImage(Content image)
public Content getImage()
public void setScaleDistance(java.lang.Float scaleDistance)
public java.lang.Float getScaleDistance()
public void setScaleDistancePoints(float scaleDistanceXStart, float scaleDistanceYStart, float scaleDistanceXEnd, float scaleDistanceYEnd)
public float[][] getScaleDistancePoints()
public void setOrigin(float xOrigin, float yOrigin)
public float getXOrigin()
public float getYOrigin()
|
Sweet Home 3D 3.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
![]() |
? Copyrights 2006-2011 eTeks - All rights reserved
Distributed under GNU General Public License |