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
  • Field Summary

    Fields inherited from class org.eclipse.swt.widgets.Composite

    embeddedHandle

    Fields inherited from class org.eclipse.swt.widgets.Widget

    handle
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    AEShell(int styles)
    private
    AEShell(org.eclipse.swt.widgets.Display display)
    private
    AEShell(org.eclipse.swt.widgets.Display display, int styles)
    private
    AEShell(org.eclipse.swt.widgets.Shell parent)
    private
    AEShell(org.eclipse.swt.widgets.Shell parent, int styles)
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    Does nothing
    private static int
    fixupStyle(int style)
     
    void
     
    void
    setAdjustPXforDPI(boolean adjust)
     
    void
    setImage(org.eclipse.swt.graphics.Image image)
    Sets the iconic representation of a SWT window
    void
    setImages(org.eclipse.swt.graphics.Image[] images)
    Sets the iconic representation of a SWT window

    Methods 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, setVisible

    Methods inherited from class org.eclipse.swt.widgets.Decorations

    getDefaultButton, getImage, getImages, getMenuBar, getMinimized, getText, isReparentable, setDefaultButton

    Methods inherited from class org.eclipse.swt.widgets.Canvas

    drawBackground, getCaret, getIME, scroll, setCaret, setFont, setIME

    Methods 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, toString

    Methods inherited from class org.eclipse.swt.widgets.Scrollable

    computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar

    Methods 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, update

    Methods inherited from class org.eclipse.swt.widgets.Widget

    addDisposeListener, addListener, checkWidget, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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:
      checkSubclass in class org.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:
      setImage in class org.eclipse.swt.widgets.Decorations
      Parameters:
      shell - The SWT window
      imgKey - 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:
      setImages in class org.eclipse.swt.widgets.Decorations
      Parameters:
      images - Images
      shell - The SWT window
    • setAdjustPXforDPI

      public void setAdjustPXforDPI(boolean adjust)
    • open

      public void open()
      Overrides:
      open in class org.eclipse.swt.widgets.Shell