public class PageSetupController extends java.lang.Object implements Controller
| Modifier and Type | Class and Description | 
|---|---|
| static class  | PageSetupController.PropertyThe property that may be edited by the view associated to this controller. | 
| Constructor and Description | 
|---|
| PageSetupController(Home home,
                   UserPreferences preferences,
                   ViewFactory viewFactory,
                   javax.swing.undo.UndoableEditSupport undoSupport)Creates the controller of page setup with undo support. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addPropertyChangeListener(PageSetupController.Property property,
                         java.beans.PropertyChangeListener listener)Adds the property change  listenerin parameter to this controller. | 
| void | displayView(View parentView)Displays the view controlled by this controller. | 
| HomePrint | getPrint()Returns the edited print attributes. | 
| java.util.List<Level> | getPrintableLevels()Returns home printable levels. | 
| DialogView | getView()Returns the view associated with this controller. | 
| void | modifyPageSetup()Controls the modification of home print attributes. | 
| void | removePropertyChangeListener(PageSetupController.Property property,
                            java.beans.PropertyChangeListener listener)Removes the property change  listenerin parameter from this controller. | 
| void | setPrint(HomePrint print)Sets the edited print attributes. | 
public PageSetupController(Home home, UserPreferences preferences, ViewFactory viewFactory, javax.swing.undo.UndoableEditSupport undoSupport)
public DialogView getView()
getView in interface Controllerpublic void displayView(View parentView)
public void addPropertyChangeListener(PageSetupController.Property property, java.beans.PropertyChangeListener listener)
listener in parameter to this controller.public void removePropertyChangeListener(PageSetupController.Property property, java.beans.PropertyChangeListener listener)
listener in parameter from this controller.public void setPrint(HomePrint print)
public HomePrint getPrint()
public java.util.List<Level> getPrintableLevels()
public void modifyPageSetup()
                        
© Copyright 2024 Space Mushrooms
                            
Distributed under GNU General Public License