public class LayoutManager extends Object implements org.fujion.ancillary.IAutoWired
| Constructor and Description |
|---|
LayoutManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterInitialized(org.fujion.component.BaseComponent root) |
static boolean |
defaultIsShared()
Returns true if the default layout scope is shared.
|
static void |
defaultIsShared(boolean isShared)
Sets the default layout scope.
|
static void |
exportLayout(LayoutIdentifier layout) |
void |
importLayout(boolean shared,
InputStream strm)
Import a layout.
|
static void |
saveLayout(Layout layout,
LayoutIdentifier layoutId,
boolean hideScope,
org.fujion.ancillary.IResponseCallback<LayoutIdentifier> callback)
Prompts to save layout.
|
static void |
show(boolean manage,
String deflt,
org.fujion.event.IEventListener closeListener)
Invokes the layout manager dialog.
|
public static boolean defaultIsShared()
public static void defaultIsShared(boolean isShared)
isShared - If true, the default scope is shared. If false, it is private.public static void show(boolean manage,
String deflt,
org.fujion.event.IEventListener closeListener)
manage - If true, open in management mode; otherwise, in selection mode.deflt - Default layout name.closeListener - Close event listener.public static void saveLayout(Layout layout, LayoutIdentifier layoutId, boolean hideScope, org.fujion.ancillary.IResponseCallback<LayoutIdentifier> callback)
layout - Layout to save.layoutId - Layout identifierhideScope - If true, hide shared/private scope selection.callback - Callback if layout successfully saved.public static void exportLayout(LayoutIdentifier layout)
public void afterInitialized(org.fujion.component.BaseComponent root)
afterInitialized in interface org.fujion.ancillary.IAutoWiredpublic void importLayout(boolean shared,
InputStream strm)
shared - If true, import as a shared layout.strm - An input stream.Copyright © 2017 Regenstrief Center for Biomedical Informatics. All rights reserved.