Class TabFigure

java.lang.Object
org.eclipse.draw2d.Figure
org.csstudio.swt.widgets.figures.TabFigure
All Implemented Interfaces:
Introspectable, org.eclipse.draw2d.IFigure

public class TabFigure extends org.eclipse.draw2d.Figure implements Introspectable
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
    Definition of listeners that react on active tab index changed.

    Nested classes/interfaces inherited from class org.eclipse.draw2d.Figure

    org.eclipse.draw2d.Figure.FigureIterator, org.eclipse.draw2d.Figure.IdentitySearch, org.eclipse.draw2d.Figure.ReverseFigureChildrenIterator

    Nested classes/interfaces inherited from interface org.eclipse.draw2d.IFigure

    org.eclipse.draw2d.IFigure.NoInsets
  • Field Summary

    Fields inherited from class org.eclipse.draw2d.Figure

    bgColor, border, bounds, fgColor, flags, font, MAX_FLAG, maxSize, minSize, NO_MANAGER, prefSize, toolTip

    Fields inherited from interface org.eclipse.draw2d.IFigure

    MAX_DIMENSION, MIN_DIMENSION, NO_INSETS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addTab(String title)
     
    void
    addTab(String title, int index)
     
    void
     
    void
    Dispose image resources.
    int
     
     
    org.eclipse.draw2d.IFigure
     
    int
     
    org.eclipse.draw2d.Label
    getTabLabel(int index)
     
    int
     
    int
     
    protected void
     
    protected void
    paintClientArea(org.eclipse.draw2d.Graphics graphics)
     
    void
     
    void
    removeTab(int index)
     
    void
    setActiveTabIndex(int activeTabIndex)
     
    void
    setHorizontal(boolean horizontal)
     
    void
    setIconPath(int index, IPath path, IJobErrorHandler errorHandler)
     
    void
    setMinimumTabHeight(int minimumTabHeight)
     
    void
    setTabColor(int index, Color color)
     
    void
    setTabEnabled(int index, boolean enabled)
     

    Methods inherited from class org.eclipse.draw2d.Figure

    add, add, add, add, addAncestorListener, addCoordinateListener, addFigureListener, addFocusListener, addKeyListener, addLayoutListener, addListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, containsPoint, containsPoint, erase, findDescendantAtExcluding, findFigureAt, findFigureAt, findFigureAt, findFigureAtExcluding, findMouseEventTargetAt, findMouseEventTargetInDescendantsAt, fireCoordinateSystemChanged, fireFigureMoved, fireMoved, firePropertyChange, firePropertyChange, firePropertyChange, getBackgroundColor, getBorder, getBounds, getChildren, getChildrenRevIterable, getClientArea, getClientArea, getClippingStrategy, getCursor, getFlag, getFont, getForegroundColor, getInsets, getLayoutManager, getListeners, getListenersIterable, getLocalBackgroundColor, getLocalFont, getLocalForegroundColor, getLocation, getMaximumSize, getMinimumSize, getMinimumSize, getParent, getPreferredSize, getPreferredSize, getSize, getToolTip, getUpdateManager, handleFocusGained, handleFocusLost, handleKeyPressed, handleKeyReleased, handleMouseDoubleClicked, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMouseHover, handleMouseMoved, handleMousePressed, handleMouseReleased, hasFocus, internalGetEventDispatcher, intersects, invalidate, invalidateTree, isCoordinateSystem, isEnabled, isFocusTraversable, isMirrored, isMouseEventTarget, isOpaque, isRequestFocusEnabled, isShowing, isValid, isValidationRoot, isVisible, optimizeClip, paint, paintBorder, paintChildren, paintFigure, primTranslate, remove, removeAll, removeAncestorListener, removeCoordinateListener, removeFigureListener, removeFocusListener, removeKeyListener, removeLayoutListener, removeListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, revalidate, setBackgroundColor, setBorder, setBounds, setChildrenDirection, setChildrenEnabled, setChildrenOrientation, setClippingStrategy, setConstraint, setCursor, setEnabled, setFlag, setFocusTraversable, setFont, setForegroundColor, setLayoutManager, setLocation, setMaximumSize, setMinimumSize, setOpaque, setParent, setPreferredSize, setPreferredSize, setRequestFocusEnabled, setSize, setSize, setToolTip, setValid, setVisible, translate, translateFromParent, translateToAbsolute, translateToParent, translateToRelative, useLocalCoordinates, validate

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TabFigure

      public TabFigure()
  • Method Details

    • addTab

      public void addTab(String title)
    • addTab

      public void addTab(String title, int index)
    • addTabListener

      public void addTabListener(TabFigure.ITabListener listener)
    • getActiveTabIndex

      public int getActiveTabIndex()
    • getBeanInfo

      public BeanInfo getBeanInfo() throws IntrospectionException
      Specified by:
      getBeanInfo in interface Introspectable
      Throws:
      IntrospectionException
    • getContentPane

      public org.eclipse.draw2d.IFigure getContentPane()
    • getTabAmount

      public int getTabAmount()
    • getTabLabel

      public org.eclipse.draw2d.Label getTabLabel(int index)
    • getTabLabelHeight

      public int getTabLabelHeight()
    • getTabLabelWidth

      public int getTabLabelWidth()
    • layout

      protected void layout()
      Overrides:
      layout in class org.eclipse.draw2d.Figure
    • paintClientArea

      protected void paintClientArea(org.eclipse.draw2d.Graphics graphics)
      Overrides:
      paintClientArea in class org.eclipse.draw2d.Figure
    • removeTab

      public void removeTab()
    • removeTab

      public void removeTab(int index)
    • setActiveTabIndex

      public void setActiveTabIndex(int activeTabIndex)
    • setIconPath

      public void setIconPath(int index, IPath path, IJobErrorHandler errorHandler)
    • dispose

      public void dispose()
      Dispose image resources.
    • setTabColor

      public void setTabColor(int index, Color color)
    • setTabEnabled

      public void setTabEnabled(int index, boolean enabled)
    • setHorizontal

      public void setHorizontal(boolean horizontal)
    • setMinimumTabHeight

      public void setMinimumTabHeight(int minimumTabHeight)