Class ShellFactory.AEShell
java.lang.Object
org.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
org.eclipse.swt.widgets.Canvas
org.eclipse.swt.widgets.Decorations
org.eclipse.swt.widgets.Shell
com.biglybt.ui.swt.components.shell.ShellFactory.AEShell
- All Implemented Interfaces:
org.eclipse.swt.graphics.Drawable
- Enclosing class:
ShellFactory
public static class ShellFactory.AEShell
extends org.eclipse.swt.widgets.Shell
A shell that provides platform-specific behaviour in some methods in order to better suit the user experience
- Version:
- 1.0
-
Field Summary
Fields inherited from class org.eclipse.swt.widgets.Composite
embeddedHandleFields inherited from class org.eclipse.swt.widgets.Widget
handle -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateAEShell(int styles) privateAEShell(org.eclipse.swt.widgets.Display display) privateAEShell(org.eclipse.swt.widgets.Display display, int styles) privateAEShell(org.eclipse.swt.widgets.Shell parent) privateAEShell(org.eclipse.swt.widgets.Shell parent, int styles) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidDoes nothingprivate static intfixupStyle(int style) voidopen()voidsetAdjustPXforDPI(boolean adjust) voidsetImage(org.eclipse.swt.graphics.Image image) Sets the iconic representation of a SWT windowvoidsetImages(org.eclipse.swt.graphics.Image[] images) Sets the iconic representation of a SWT windowMethods inherited from class org.eclipse.swt.widgets.Shell
addShellListener, close, dispose, forceActive, getAlpha, getFullScreen, getImeInputMode, getMaximized, getMaximumSize, getMinimumSize, getModified, getRegion, getShells, getToolBar, getVisible, gtk_new, internal_new, isEnabled, isVisible, print, removeShellListener, requestLayout, setActive, setAlpha, setEnabled, setFullScreen, setImeInputMode, setMaximized, setMaximumSize, setMaximumSize, setMenuBar, setMinimized, setMinimumSize, setMinimumSize, setModified, setRegion, setText, setVisibleMethods inherited from class org.eclipse.swt.widgets.Decorations
getDefaultButton, getImage, getImages, getMenuBar, getMinimized, getText, isReparentable, setDefaultButtonMethods inherited from class org.eclipse.swt.widgets.Canvas
drawBackground, getCaret, getIME, scroll, setCaret, setFont, setIMEMethods inherited from class org.eclipse.swt.widgets.Composite
changed, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList, toStringMethods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar, setScrollbarsModeMethods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, internal_dispose_GC, internal_new_GC, isAutoScalable, isFocusControl, moveAbove, moveBelow, pack, pack, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, updateMethods inherited from class org.eclipse.swt.widgets.Widget
addDisposeListener, addListener, addTypedListener, checkWidget, getData, getData, getDisplay, getListeners, getStyle, getTypedListeners, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, removeListener, removeTypedListener, reskin, setData, setData
-
Constructor Details
-
AEShell
private AEShell(int styles) -
AEShell
private AEShell(org.eclipse.swt.widgets.Display display) -
AEShell
private AEShell(org.eclipse.swt.widgets.Display display, int styles) -
AEShell
private AEShell(org.eclipse.swt.widgets.Shell parent) -
AEShell
private AEShell(org.eclipse.swt.widgets.Shell parent, int styles)
-
-
Method Details
-
fixupStyle
private static int fixupStyle(int style) -
checkSubclass
protected void checkSubclass()Does nothing- Overrides:
checkSubclassin classorg.eclipse.swt.widgets.Decorations
-
setImage
public void setImage(org.eclipse.swt.graphics.Image image) Sets the iconic representation of a SWT window
The icon is often located at the top-left corner of the title bar. This is different from Mac OS X's document proxy icon.
For Mac OS X, this method does nothing (because the dock's image would be set instead).
- Overrides:
setImagein classorg.eclipse.swt.widgets.Decorations- Parameters:
shell- The SWT windowimgKey- ImageRepository key for the image
-
setImages
public void setImages(org.eclipse.swt.graphics.Image[] images) Sets the iconic representation of a SWT window
The icon is often located at the top-left corner of the title bar. This is different from Mac OS X's document proxy icon.
For Mac OS X, this method does nothing (because the dock's image would be set instead).
- Overrides:
setImagesin classorg.eclipse.swt.widgets.Decorations- Parameters:
images- Imagesshell- The SWT window
-
setAdjustPXforDPI
public void setAdjustPXforDPI(boolean adjust) -
open
public void open()- Overrides:
openin classorg.eclipse.swt.widgets.Shell
-