Package net.infonode.docking.model
Class WindowItem
java.lang.Object
net.infonode.docking.model.WindowItem
- Direct Known Subclasses:
AbstractTabWindowItem,FloatingWindowItem,RootWindowItem,SplitWindowItem,ViewItem
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddWindow(WindowItem item) voidaddWindow(WindowItem item, int index) booleancleanUp()voidabstract WindowItemcopy()protected abstract DockingWindowcreateWindow(ViewReader viewReader, ArrayList childWindows) getChildWindowContaining(WindowItem windowItem) protected PropertyMapfinal WindowItemgetWindow(int index) final intintgetWindowIndex(WindowItem item) booleanhasAncestor(WindowItem ancestor) booleanread(ObjectInputStream in, ReadContext context, ViewReader viewReader) readChildWindows(ObjectInputStream in, ReadContext context, ViewReader viewReader) voidreadSettings(ObjectInputStream in, ReadContext context) voidvoidremoveWindow(WindowItem item) voidremoveWindowRefs(DockingWindow window) voidreplaceWith(WindowItem item) voidsetConnectedWindow(DockingWindow window) voidsetLastMinimizedDirection(Direction lastMinimizedDirection) voidsetParentDockingWindowProperties(DockingWindowProperties parentProperties) toString()voidwrite(ObjectOutputStream out, WriteContext context, ViewWriter viewWriter) voidwriteSettings(ObjectOutputStream out, WriteContext context)
-
Field Details
-
emptyProperties
-
-
Constructor Details
-
WindowItem
protected WindowItem() -
WindowItem
-
-
Method Details
-
createWindow
-
copy
-
isRestoreWindow
public boolean isRestoreWindow() -
addWindow
-
addWindow
-
removeWindow
-
removeWindowRefs
-
replaceWith
-
getWindowIndex
-
getWindowCount
public final int getWindowCount() -
getWindow
-
getParent
-
setConnectedWindow
-
getConnectedWindow
-
getRootItem
-
getVisibleDockingWindow
-
getInsideDockingWindow
-
removeAll
public void removeAll() -
cleanUp
public boolean cleanUp() -
getFirstChildWindow
-
getFirstWindow
-
getChildWindowContaining
-
hasAncestor
-
getTopItem
-
getDockingWindowProperties
-
getParentDockingWindowProperties
-
setParentDockingWindowProperties
-
getLastMinimizedDirection
-
setLastMinimizedDirection
-
writeSettings
- Throws:
IOException
-
readSettings
- Throws:
IOException
-
write
public void write(ObjectOutputStream out, WriteContext context, ViewWriter viewWriter) throws IOException - Throws:
IOException
-
read
public DockingWindow read(ObjectInputStream in, ReadContext context, ViewReader viewReader) throws IOException - Throws:
IOException
-
readChildWindows
public ArrayList readChildWindows(ObjectInputStream in, ReadContext context, ViewReader viewReader) throws IOException - Throws:
IOException
-
getPropertyObject
-
toString
-
clearWindows
public void clearWindows()
-