|
Sweet Home 3D 4.1 | |||||||||
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.ImportedTextureWizardController
public class ImportedTextureWizardController
Wizard controller for background image in plan.
Nested Class Summary | |
---|---|
protected class |
ImportedTextureWizardController.ImportedTextureWizardStepState
Step state superclass. |
static class |
ImportedTextureWizardController.Property
|
static class |
ImportedTextureWizardController.Step
|
Nested classes/interfaces inherited from class com.eteks.sweethome3d.viewcontroller.WizardController |
---|
WizardController.WizardControllerStepState |
Constructor Summary | |
---|---|
ImportedTextureWizardController(CatalogTexture texture,
UserPreferences preferences,
ViewFactory viewFactory,
ContentManager contentManager)
Creates a controller that edits texture values. |
|
ImportedTextureWizardController(String textureName,
UserPreferences preferences,
ViewFactory viewFactory,
ContentManager contentManager)
Creates a controller that edits a new catalog texture with a given textureName . |
|
ImportedTextureWizardController(UserPreferences preferences,
ViewFactory viewFactory,
ContentManager contentManager)
Creates a controller that edits a new catalog texture. |
Method Summary | |
---|---|
void |
addPropertyChangeListener(ImportedTextureWizardController.Property property,
PropertyChangeListener listener)
Adds the property change listener in parameter to this home. |
void |
finish()
Changes background image in model and posts an undoable operation. |
TexturesCategory |
getCategory()
Returns the category of the imported texture. |
ContentManager |
getContentManager()
Returns the content manager of this controller. |
float |
getHeight()
Returns the height. |
Content |
getImage()
Returns the image content of the imported texture. |
String |
getName()
Returns the name of the imported texture. |
ImportedTextureWizardController.Step |
getStep()
Returns the current step in wizard view. |
protected ImportedTextureWizardController.ImportedTextureWizardStepState |
getStepState()
Returns the current step state. |
protected View |
getStepsView()
Returns the unique wizard view used for all steps. |
protected ImportedTextureWizardController.ImportedTextureWizardStepState |
getTextureAttributesStepState()
Returns the texture attributes step state. |
protected ImportedTextureWizardController.ImportedTextureWizardStepState |
getTextureImageStepState()
Returns the texture image step state. |
float |
getWidth()
Returns the width. |
boolean |
isTextureNameValid()
Returns true if texture name is valid. |
void |
removePropertyChangeListener(ImportedTextureWizardController.Property property,
PropertyChangeListener listener)
Removes the property change listener in parameter from this home. |
void |
setCategory(TexturesCategory category)
Sets the category of the imported texture. |
void |
setHeight(float height)
Sets the size of the imported texture. |
void |
setImage(Content image)
Sets the image content of the imported texture. |
void |
setName(String name)
Sets the name of the imported texture. |
protected void |
setStep(ImportedTextureWizardController.Step step)
Switch in the wizard view to the given step . |
void |
setWidth(float width)
Sets the width of the imported texture. |
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 ImportedTextureWizardController(UserPreferences preferences, ViewFactory viewFactory, ContentManager contentManager)
public ImportedTextureWizardController(String textureName, UserPreferences preferences, ViewFactory viewFactory, ContentManager contentManager)
textureName
.
public ImportedTextureWizardController(CatalogTexture texture, UserPreferences preferences, ViewFactory viewFactory, ContentManager contentManager)
texture
values.
Method Detail |
---|
public void finish()
finish
in class WizardController
public ContentManager getContentManager()
protected ImportedTextureWizardController.ImportedTextureWizardStepState getStepState()
getStepState
in class WizardController
protected ImportedTextureWizardController.ImportedTextureWizardStepState getTextureImageStepState()
protected ImportedTextureWizardController.ImportedTextureWizardStepState getTextureAttributesStepState()
protected View getStepsView()
protected void setStep(ImportedTextureWizardController.Step step)
step
.
public ImportedTextureWizardController.Step getStep()
public void addPropertyChangeListener(ImportedTextureWizardController.Property property, PropertyChangeListener listener)
listener
in parameter to this home.
public void removePropertyChangeListener(ImportedTextureWizardController.Property property, PropertyChangeListener listener)
listener
in parameter from this home.
public void setImage(Content image)
public Content getImage()
public String getName()
public void setName(String name)
public TexturesCategory getCategory()
public void setCategory(TexturesCategory category)
public float getWidth()
public void setWidth(float width)
public float getHeight()
public void setHeight(float height)
public boolean isTextureNameValid()
true
if texture name is valid.
|
Sweet Home 3D 4.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
![]() |
© Copyrights 2006-2013 eTeks - All rights reserved
Distributed under GNU General Public License |