org.keridwen.core.ui.dockingframes.internal
Class DefaultMainViewService

java.lang.Object
  extended by org.keridwen.core.ui.dockingframes.internal.DefaultMainViewService
All Implemented Interfaces:
MainViewService

public class DefaultMainViewService
extends Object
implements MainViewService


Constructor Summary
DefaultMainViewService()
          Default constructor.
 
Method Summary
 void addActionToComponent(Component component, bibliothek.gui.dock.common.action.CAction... actions)
           
 void addComponent(String componentTitle, Component componentToAdd, int x, int y, int width, int height, bibliothek.gui.dock.common.action.CAction... actions)
           
 void addComponent(String componentTitle, Component componentToAdd, ViewPosition positionToSet, bibliothek.gui.dock.common.action.CAction... actions)
           
 void addComponentToEastOfPerspective(String perspectiveName, String componentTitle, Component componentToAdd, bibliothek.gui.dock.common.action.CAction... actions)
           
 void addComponentToPerspective(String perspectiveName, String componentTitle, Component componentToAdd, ViewPosition viewPosition, bibliothek.gui.dock.common.action.CAction... actions)
           
 void addComponentToWorkingArea(String workingAreaName, String componentTitle, Component componentToAdd, ViewPosition viewPosition, bibliothek.gui.dock.common.action.CAction... actions)
           
 void close()
           
 bibliothek.gui.dock.common.perspective.CWorkingPerspective createWorkingArea(String perspectiveName, String workName, ViewPosition viewPosition)
           
 void display()
           
 String getCurrentPerspectiveName()
           
 MenuService getMenuService()
           
 StatusBarService getStatusBarService()
           
 ToolBarService getToolBarService()
           
 void loadPerspective(String perspectiveName)
           
 void removeComponent(Component componentToRemove)
           
 void reset()
           
 void resetPerspective(String perspectiveName)
           
 void setCloseAction(WindowAdapter adapterToSet)
           
 void setComponentVisibility(Component component, boolean visible)
           
 void setMenuService(MenuService menuServiceToSet)
           
 void setSize(int width, int height)
           
 void setStatusBarService(StatusBarService statusBarServiceToSet)
           
 void setTitle(String viewTitle)
           
 void setToolBarService(ToolBarService toolBarServiceToSet)
           
 void setVisible(boolean visibility, Component componentToModify)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMainViewService

public DefaultMainViewService()
Default constructor.

Method Detail

setTitle

public void setTitle(String viewTitle)
Specified by:
setTitle in interface MainViewService

display

public void display()
Specified by:
display in interface MainViewService

close

public void close()
Specified by:
close in interface MainViewService

setCloseAction

public void setCloseAction(WindowAdapter adapterToSet)
Specified by:
setCloseAction in interface MainViewService

addComponent

public void addComponent(String componentTitle,
                         Component componentToAdd,
                         ViewPosition positionToSet,
                         bibliothek.gui.dock.common.action.CAction... actions)
Specified by:
addComponent in interface MainViewService

addComponent

public void addComponent(String componentTitle,
                         Component componentToAdd,
                         int x,
                         int y,
                         int width,
                         int height,
                         bibliothek.gui.dock.common.action.CAction... actions)

setComponentVisibility

public void setComponentVisibility(Component component,
                                   boolean visible)
Specified by:
setComponentVisibility in interface MainViewService

addActionToComponent

public void addActionToComponent(Component component,
                                 bibliothek.gui.dock.common.action.CAction... actions)
Specified by:
addActionToComponent in interface MainViewService

removeComponent

public void removeComponent(Component componentToRemove)
Specified by:
removeComponent in interface MainViewService

getToolBarService

public ToolBarService getToolBarService()
Specified by:
getToolBarService in interface MainViewService

getMenuService

public MenuService getMenuService()
Specified by:
getMenuService in interface MainViewService

getStatusBarService

public StatusBarService getStatusBarService()
Specified by:
getStatusBarService in interface MainViewService

setSize

public void setSize(int width,
                    int height)
Specified by:
setSize in interface MainViewService

setToolBarService

public void setToolBarService(ToolBarService toolBarServiceToSet)
Specified by:
setToolBarService in interface MainViewService

setMenuService

public void setMenuService(MenuService menuServiceToSet)
Specified by:
setMenuService in interface MainViewService

setStatusBarService

public void setStatusBarService(StatusBarService statusBarServiceToSet)
Specified by:
setStatusBarService in interface MainViewService

reset

public void reset()
Specified by:
reset in interface MainViewService

setVisible

public void setVisible(boolean visibility,
                       Component componentToModify)
Specified by:
setVisible in interface MainViewService

addComponentToPerspective

public void addComponentToPerspective(String perspectiveName,
                                      String componentTitle,
                                      Component componentToAdd,
                                      ViewPosition viewPosition,
                                      bibliothek.gui.dock.common.action.CAction... actions)
Specified by:
addComponentToPerspective in interface MainViewService

addComponentToEastOfPerspective

public void addComponentToEastOfPerspective(String perspectiveName,
                                            String componentTitle,
                                            Component componentToAdd,
                                            bibliothek.gui.dock.common.action.CAction... actions)
Specified by:
addComponentToEastOfPerspective in interface MainViewService

createWorkingArea

public bibliothek.gui.dock.common.perspective.CWorkingPerspective createWorkingArea(String perspectiveName,
                                                                                    String workName,
                                                                                    ViewPosition viewPosition)
Specified by:
createWorkingArea in interface MainViewService

addComponentToWorkingArea

public void addComponentToWorkingArea(String workingAreaName,
                                      String componentTitle,
                                      Component componentToAdd,
                                      ViewPosition viewPosition,
                                      bibliothek.gui.dock.common.action.CAction... actions)
Specified by:
addComponentToWorkingArea in interface MainViewService

loadPerspective

public void loadPerspective(String perspectiveName)
Specified by:
loadPerspective in interface MainViewService

resetPerspective

public void resetPerspective(String perspectiveName)
Specified by:
resetPerspective in interface MainViewService

getCurrentPerspectiveName

public String getCurrentPerspectiveName()
Specified by:
getCurrentPerspectiveName in interface MainViewService


Copyright © 2011-2013 Artenum. All Rights Reserved.