|
|||||||||
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.gudy.azureus2.ui.swt.mainwindow.MainStatusBar.CLabelPadding
public class MainStatusBar.CLabelPadding
CLabel that shrinks to fit text after a specific period of time. Makes textual changes less jumpy
Field Summary |
---|
Fields inherited from class org.eclipse.swt.widgets.Control |
---|
view |
Constructor Summary | |
---|---|
MainStatusBar.CLabelPadding(org.eclipse.swt.widgets.Composite parent,
int style)
Default Constructor |
Method Summary | |
---|---|
org.eclipse.swt.graphics.Point |
computeSize(int wHint,
int hHint)
|
org.eclipse.swt.graphics.Point |
computeSize(int wHint,
int hHint,
boolean changed)
|
org.eclipse.swt.graphics.Point |
computeSize(int wHint,
int hHint,
boolean changed,
boolean realWidth)
|
org.eclipse.swt.graphics.Image |
getBackgroundImage()
|
org.eclipse.swt.graphics.Image |
getImage()
|
java.lang.String |
getText()
|
java.lang.String |
getToolTipText()
|
void |
layoutNow()
|
void |
paintControl(org.eclipse.swt.events.PaintEvent e)
|
void |
reset()
|
void |
setBackgroundImage(org.eclipse.swt.graphics.Image image)
|
void |
setImage(org.eclipse.swt.graphics.Image image)
|
void |
setText(java.lang.String text)
|
void |
setToolTipText(java.lang.String str)
|
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, checkSubclass, 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 |
---|
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, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, setBackground, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setTouchEnabled, setVisible, 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 |
Constructor Detail |
---|
public MainStatusBar.CLabelPadding(org.eclipse.swt.widgets.Composite parent, int style)
parent
- style
- Method Detail |
---|
public void setToolTipText(java.lang.String str)
setToolTipText
in class org.eclipse.swt.widgets.Control
public java.lang.String getToolTipText()
getToolTipText
in class org.eclipse.swt.widgets.Control
public void paintControl(org.eclipse.swt.events.PaintEvent e)
paintControl
in interface org.eclipse.swt.events.PaintListener
public org.eclipse.swt.graphics.Point computeSize(int wHint, int hHint)
computeSize
in class org.eclipse.swt.widgets.Control
public org.eclipse.swt.graphics.Point computeSize(int wHint, int hHint, boolean changed)
computeSize
in class org.eclipse.swt.widgets.Composite
public org.eclipse.swt.graphics.Point computeSize(int wHint, int hHint, boolean changed, boolean realWidth)
public void setImage(org.eclipse.swt.graphics.Image image)
public org.eclipse.swt.graphics.Image getImage()
public void setBackgroundImage(org.eclipse.swt.graphics.Image image)
setBackgroundImage
in class org.eclipse.swt.widgets.Control
public org.eclipse.swt.graphics.Image getBackgroundImage()
getBackgroundImage
in class org.eclipse.swt.widgets.Control
public java.lang.String getText()
public void setText(java.lang.String text)
public void reset()
public void layoutNow()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |