Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013

ag.ion.noa.internal.frame
Class LayoutManager

java.lang.Object
  extended by ag.ion.noa.internal.frame.LayoutManager
All Implemented Interfaces:
ILayoutManager

public class LayoutManager
extends java.lang.Object
implements ILayoutManager

Layout manager for frames.


Field Summary
 
Fields inherited from interface ag.ion.noa.frame.ILayoutManager
ALL_BARS_URLS, URL_MENUBAR, URL_PREFIX, URL_PREFIX_TOOLBAR, URL_STATUSBAR, URL_TOOLBAR, URL_TOOLBAR_ALIGNMENTBAR, URL_TOOLBAR_ARROWSHAPES, URL_TOOLBAR_BASICSHAPES, URL_TOOLBAR_CALLOUTSHAPES, URL_TOOLBAR_DRAWBAR, URL_TOOLBAR_DRAWOBJECTBAR, URL_TOOLBAR_EXTRUSIONOBJECTBAR, URL_TOOLBAR_FONTWORKOBJECTBAR, URL_TOOLBAR_FONTWORKSHAPETYPES, URL_TOOLBAR_FORMATOBJECTBAR, URL_TOOLBAR_FORMCONTROLS, URL_TOOLBAR_FORMDESIGN, URL_TOOLBAR_FORMFILTERBAR, URL_TOOLBAR_FORMSNAVIGATIONBAR, URL_TOOLBAR_FORMSOBJECTBAR, URL_TOOLBAR_FORMSTEXTOBJECTBAR, URL_TOOLBAR_FULLSCREENBAR, URL_TOOLBAR_GRAPHICOBJECTBAR, URL_TOOLBAR_INSERTBAR, URL_TOOLBAR_INSERTCELLSBAR, URL_TOOLBAR_INSERTOBJECTSBAR, URL_TOOLBAR_MEDIAOBJECTSBAR, URL_TOOLBAR_MOREFORMCONTROLS, URL_TOOLBAR_PREVIEWBAR, URL_TOOLBAR_STANDARDBAR, URL_TOOLBAR_STARSHAPES, URL_TOOLBAR_SYMBOLSHAPES, URL_TOOLBAR_TABLEOBJECTBAR, URL_TOOLBAR_TEXTOBJECTBAR, URL_TOOLBAR_VIEWERBAR
 
Constructor Summary
LayoutManager(com.sun.star.frame.XLayoutManager xLayoutManager)
          Constructs new LayoutManager.
 
Method Summary
 com.sun.star.frame.XLayoutManager getXLayoutManager()
          Returns the office XLayoutManager interface.
 void hideAll()
          Hides all bars.
 boolean hideElement(java.lang.String resourceURL)
          Shows UI element with the submitted resource URL.
 void setVisible(boolean visible)
          Switches the visibility of all UI elements managed by the layout manager.
 boolean showElement(java.lang.String resourceURL)
          Shows UI element with the submitted resource URL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutManager

public LayoutManager(com.sun.star.frame.XLayoutManager xLayoutManager)
Constructs new LayoutManager.

Parameters:
xLayoutManager - office XLayoutManager interface
Method Detail

getXLayoutManager

public com.sun.star.frame.XLayoutManager getXLayoutManager()
Returns the office XLayoutManager interface.

Specified by:
getXLayoutManager in interface ILayoutManager
Returns:
office XLayoutManager interface

hideElement

public boolean hideElement(java.lang.String resourceURL)
Shows UI element with the submitted resource URL.

Specified by:
hideElement in interface ILayoutManager
Parameters:
resourceURL - URL of the UI resource to be shown
Returns:
information whether the UI resource is visible after method call

hideAll

public void hideAll()
Hides all bars.

Specified by:
hideAll in interface ILayoutManager

showElement

public boolean showElement(java.lang.String resourceURL)
Shows UI element with the submitted resource URL.

Specified by:
showElement in interface ILayoutManager
Parameters:
resourceURL - URL of the UI resource to be shown
Returns:
information whether the UI resource is visible after method call

setVisible

public void setVisible(boolean visible)
Switches the visibility of all UI elements managed by the layout manager.

Specified by:
setVisible in interface ILayoutManager
Parameters:
visible - new visibility state

Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013