|
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.TextureChoiceController
public class TextureChoiceController
A MVC controller for texture choice.
| Nested Class Summary | |
|---|---|
static class |
TextureChoiceController.Property
|
| Constructor Summary | |
|---|---|
TextureChoiceController(String title,
UserPreferences preferences,
ViewFactory viewFactory,
ContentManager contentManager)
|
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(TextureChoiceController.Property property,
PropertyChangeListener listener)
Adds the property change listener in parameter to this controller. |
void |
deleteTexture(CatalogTexture texture)
Controls the deletion of a texture. |
String |
getDialogTitle()
Returns the text that should be displayed as texture choice dialog title. |
HomeTexture |
getTexture()
Returns the texture displayed by view. |
TextureChoiceView |
getView()
Returns the view associated with this controller. |
void |
importTexture()
Controls texture import. |
void |
importTexture(String textureName)
Controls the import of a texture with a given name. |
void |
modifyTexture(CatalogTexture texture)
Controls the modification of a texture. |
void |
removePropertyChangeListener(TextureChoiceController.Property property,
PropertyChangeListener listener)
Removes the property change listener in parameter from this controller. |
void |
setTexture(HomeTexture texture)
Sets the texture displayed by view and fires a PropertyChangeEvent. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextureChoiceController(String title,
UserPreferences preferences,
ViewFactory viewFactory,
ContentManager contentManager)
| Method Detail |
|---|
public TextureChoiceView getView()
getView in interface Controller
public void addPropertyChangeListener(TextureChoiceController.Property property,
PropertyChangeListener listener)
listener in parameter to this controller.
public void removePropertyChangeListener(TextureChoiceController.Property property,
PropertyChangeListener listener)
listener in parameter from this controller.
public void setTexture(HomeTexture texture)
PropertyChangeEvent.
public HomeTexture getTexture()
public String getDialogTitle()
public void importTexture()
public void importTexture(String textureName)
public void modifyTexture(CatalogTexture texture)
public void deleteTexture(CatalogTexture texture)
|
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 |