public class TreeNode extends ToggleHyperlink
The control is rendered as box with a '+' or '-' sign, depending on the expansion state. Focus indication is rendered around the box when the control has keyboard focus.
Twistiehover, innerHeight, innerWidthmarginHeight, marginWidth| Constructor and Description |
|---|
TreeNode(Composite parent,
int style)
Creates a control in a provided composite.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
paint(PaintEvent e)
Paints the control as a reaction to the provided paint event.
|
protected void |
paintHyperlink(GC gc)
Paints the hyperlink as a reaction to the provided paint event.
|
computeSize, geHoverDecorationColor, getDecorationColor, getHoverDecorationColor, isExpanded, setDecorationColor, setExpanded, setHoverDecorationColoraddHyperlinkListener, getHref, getSelection, getText, handleActivate, handleEnter, handleExit, removeHyperlinkListener, setEnabled, setHrefdrawBackground, getCaret, getIME, scroll, setCaret, setFont, setIMEchanged, checkSubclass, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabListcomputeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBaraddControlListener, 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, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, updateaddDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toStringpublic TreeNode(Composite parent, int style)
parent - the parentstyle - the styleprotected void paint(PaintEvent e)
AbstractHyperlinkpaint in class AbstractHyperlinke - the paint eventprotected void paintHyperlink(GC gc)
AbstractHyperlinkpaintHyperlink in class AbstractHyperlinkgc - graphic context
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.