|
|||||||||
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.gudy.azureus2.ui.swt.twistie.TwistieSection
public class TwistieSection
Field Summary |
---|
Fields inherited from class org.eclipse.swt.widgets.Control |
---|
view |
Fields inherited from interface org.gudy.azureus2.ui.swt.twistie.ITwistieConstants |
---|
NONE, SHOW_DESCRIPTION, SHOW_EXPANDED, SHOW_SEPARATOR |
Constructor Summary | |
---|---|
TwistieSection(org.eclipse.swt.widgets.Composite parent,
int style)
Create a TwistieSection with the given style bit. |
Method Summary | |
---|---|
void |
addTwistieListener(ITwistieListener listener)
Delegating to the TwistieLabel |
org.eclipse.swt.widgets.Composite |
getContent()
Returns the main body of the section. |
boolean |
isCollapsed()
|
void |
removeTwistieListener(ITwistieListener listener)
Delegating to the TwistieLabel |
void |
setBackground(org.eclipse.swt.graphics.Color color)
|
void |
setCollapsed(boolean c)
|
void |
setDescription(java.lang.String string)
Delegating to the TwistieLabel |
void |
setEnabled(boolean enabled)
|
void |
setForeground(org.eclipse.swt.graphics.Color color)
|
void |
setTitle(java.lang.String string)
Delegating to the TwistieLabel |
void |
setToolTipText(java.lang.String string)
Delegating to the TwistieLabel |
void |
setTwistieForeground(org.eclipse.swt.graphics.Color color)
Delegating to the TwistieLabel |
Methods inherited from class org.eclipse.swt.widgets.Composite |
---|
changed, checkSubclass, computeSize, 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, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, 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, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setFont, 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 TwistieSection(org.eclipse.swt.widgets.Composite parent, int style)
Style bit can be one or more of:
Method Detail |
---|
public org.eclipse.swt.widgets.Composite getContent()
Composite
public void setBackground(org.eclipse.swt.graphics.Color color)
setBackground
in class org.eclipse.swt.widgets.Control
public void setForeground(org.eclipse.swt.graphics.Color color)
setForeground
in class org.eclipse.swt.widgets.Control
public void setEnabled(boolean enabled)
setEnabled
in class org.eclipse.swt.widgets.Control
public void addTwistieListener(ITwistieListener listener)
TwistieLabel
listener
- public void removeTwistieListener(ITwistieListener listener)
TwistieLabel
listener
- public void setDescription(java.lang.String string)
TwistieLabel
string
- public void setTitle(java.lang.String string)
TwistieLabel
string
- public void setToolTipText(java.lang.String string)
TwistieLabel
setToolTipText
in class org.eclipse.swt.widgets.Control
string
- public void setTwistieForeground(org.eclipse.swt.graphics.Color color)
TwistieLabel
color
- public boolean isCollapsed()
public void setCollapsed(boolean c)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |