|
SWT LPEX v3.0.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
org.eclipse.swt.custom.SashForm
com.ibm.lpex.core.LpexMultiWindow
The split-window parent of one or more LpexWindows. The windows may be stacked side by side (vertical split orientation, the borders between multiple editing views running vertically), or top to bottom (horizontal split orientation, the borders between multiple views running horizontally). The first window is the leftmost or top window.
See also the splitWindow and splitWindow.orientation editor parameters.
Field Summary | |
---|---|
protected int | MAX_WINDOWS
Maximum number of split windows that can be created. |
Fields inherited from class org.eclipse.swt.custom.SashForm |
---|
SASH_WIDTH |
Fields inherited from class org.eclipse.swt.widgets.Control |
---|
handle |
Constructor Summary | |
---|---|
LpexMultiWindow(org.eclipse.swt.widgets.Composite parent,
int style)
Constructs a new multiwindow. |
Method Summary | |
---|---|
protected void | activeWindowChanged(LpexWindow lpexWindow)
Notification for a change in the active window. |
void | closeWindow(LpexWindow lpexWindow)
Convenience method to close the specified window and dispose of its associated view, if any. |
LpexWindow | getFirstWindow()
Returns the first window. |
LpexWindow | getWindow()
Returns the window that has the input focus, if any, otherwise the first window. |
LpexWindow[] | getWindows()
Returns an array of the windows currently managed by this multiwindow. |
LpexWindow | newWindow(LpexView lpexView,
int style)
Creates a new window for the given document view. |
boolean | setFocus()
Gives this multiwindow the keyboard input focus. |
Methods inherited from class org.eclipse.swt.custom.SashForm |
---|
computeSize, getMaximizedControl, getOrientation, getWeights, layout, setBackground, setForeground, setLayout, setMaximizedControl, setOrientation, setWeights |
Methods inherited from class org.eclipse.swt.widgets.Composite |
---|
checkSubclass, getChildren, getLayout, getTabList, layout, setTabList |
Methods inherited from class org.eclipse.swt.widgets.Scrollable |
---|
computeTrim, getClientArea, getHorizontalBar, getVerticalBar |
Methods inherited from class org.eclipse.swt.widgets.Control |
---|
addControlListener, addFocusListener, addHelpListener, addKeyListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addPaintListener, addTraverseListener, computeSize, forceFocus, getAccessible, getBackground, getBorderWidth, getBounds, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getParent, getShell, getSize, getToolTipText, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, redraw, redraw, removeControlListener, removeFocusListener, removeHelpListener, removeKeyListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removePaintListener, removeTraverseListener, setBounds, setBounds, setCapture, setCursor, setEnabled, setFont, setLayoutData, setLocation, setLocation, setMenu, setParent, setRedraw, setSize, setSize, setToolTipText, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, update |
Methods inherited from class org.eclipse.swt.widgets.Widget |
---|
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, setData, setData, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected int MAX_WINDOWS
Constructor Detail |
public LpexMultiWindow(org.eclipse.swt.widgets.Composite parent, int style)
Method Detail |
public LpexWindow newWindow(LpexView lpexView, int style)
A new LpexWindow may not be created in certain circumstances. For example, you cannot create more than a preset number MAX_WINDOWS of split windows to be managed by one multiwindow. In such a case null will be returned.
protected void activeWindowChanged(LpexWindow lpexWindow)
Note: This hook may be replaced with a full-fledged listener in a future release.
public boolean setFocus()
public LpexWindow getFirstWindow()
public LpexWindow getWindow()
public LpexWindow[] getWindows()
public void closeWindow(LpexWindow lpexWindow)
|
SWT LPEX v3.0.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |