rss.gui
Class FramedComposite

java.lang.Object
  extended by org.eclipse.swt.widgets.Widget
      extended by org.eclipse.swt.widgets.Control
          extended by org.eclipse.swt.widgets.Scrollable
              extended by org.eclipse.swt.widgets.Composite
                  extended by rss.gui.FramedComposite
All Implemented Interfaces:
Drawable

public class FramedComposite
extends Composite

Instances of this class are composites with a border around the contents.

Styles:
SHADOW_NONE, SHADOW_ETCHED_IN, SHADOW_ETCHED_OUT, SHADOW_IN, SHADOW_OUT
Events:
(none)

Note: Only one of the above styles may be specified. The default, if no style is specified explicitly, is SHADOW_ETCHED_IN. SHADOW_NONE draws a solid 1px border in the widget's foreground color.

Since:
Feb 9, 2004
Version:
$Id: FramedComposite.html,v 1.1 2006/11/20 08:22:12 karusan Exp $
Author:
Stefan Zeiger (szeiger@novocode.com)

Field Summary
 
Fields inherited from class org.eclipse.swt.widgets.Control
handle
 
Constructor Summary
FramedComposite(Composite parent, int style)
           
 
Method Summary
 Rectangle computeTrim(int x, int y, int width, int height)
           
 Rectangle getClientArea()
           
 
Methods inherited from class org.eclipse.swt.widgets.Composite
changed, computeSize, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
 
Methods inherited from class org.eclipse.swt.widgets.Scrollable
getHorizontalBar, getVerticalBar
 
Methods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addFocusListener, addHelpListener, addKeyListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addPaintListener, addTraverseListener, computeSize, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getParent, getShell, getSize, getToolTipText, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, redraw, redraw, removeControlListener, removeFocusListener, removeHelpListener, removeKeyListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removePaintListener, removeTraverseListener, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setParent, setRedraw, setSize, setSize, setToolTipText, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, update
 
Methods inherited from class org.eclipse.swt.widgets.Widget
addDisposeListener, addListener, dispose, getData, getData, getDisplay, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, setData, setData, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FramedComposite

public FramedComposite(Composite parent,
                       int style)
Method Detail

computeTrim

public Rectangle computeTrim(int x,
                             int y,
                             int width,
                             int height)
Overrides:
computeTrim in class Scrollable

getClientArea

public Rectangle getClientArea()
Overrides:
getClientArea in class Scrollable