|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 org.gudy.azureus2.ui.swt.components.shell.ShellFactory.AEShell
public static class ShellFactory.AEShell
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.Control |
---|
view |
Method Summary | |
---|---|
protected void |
checkSubclass()
Does nothing |
org.eclipse.swt.graphics.Point |
computeSize(int wHint,
int hHint)
|
void |
open()
|
void |
pack()
|
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 |
void |
setSize(int width,
int height)
|
void |
setSize(org.eclipse.swt.graphics.Point size)
|
Methods inherited from class org.eclipse.swt.widgets.Shell |
---|
addShellListener, close, cocoa_new, computeSize, computeTrim, forceActive, getAlpha, getBounds, getClientArea, getFullScreen, getImeInputMode, getLocation, getMaximized, getMinimized, getMinimumSize, getModified, getRegion, getShell, getShells, getSize, getToolBar, internal_new, isEnabled, isVisible, print, removeShellListener, setActive, setAlpha, setEnabled, setFullScreen, setImeInputMode, setMaximized, setMenuBar, setMinimized, setMinimumSize, setMinimumSize, setModified, setRegion, setText, setVisible |
Methods inherited from class org.eclipse.swt.widgets.Decorations |
---|
getDefaultButton, getImage, getImages, getMenuBar, 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 |
Methods inherited from class org.eclipse.swt.widgets.Scrollable |
---|
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, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getMenu, getMonitor, getOrientation, getParent, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isFocusControl, moveAbove, moveBelow, 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, setTextDirection, setToolTipText, setTouchEnabled, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update |
Methods inherited from class org.eclipse.swt.widgets.Widget |
---|
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
protected void checkSubclass()
checkSubclass
in class org.eclipse.swt.widgets.Decorations
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).
setImage
in class org.eclipse.swt.widgets.Decorations
shell
- The SWT windowimgKey
- ImageRepository key for the imagepublic 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).
setImages
in class org.eclipse.swt.widgets.Decorations
shell
- The SWT windowimages
- Imagespublic org.eclipse.swt.graphics.Point computeSize(int wHint, int hHint)
computeSize
in class org.eclipse.swt.widgets.Control
public void setAdjustPXforDPI(boolean adjust)
public void setSize(int width, int height)
setSize
in class org.eclipse.swt.widgets.Control
public void pack()
pack
in class org.eclipse.swt.widgets.Control
public void setSize(org.eclipse.swt.graphics.Point size)
setSize
in class org.eclipse.swt.widgets.Control
public void open()
open
in class org.eclipse.swt.widgets.Shell
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |