net.sourceforge.geeboss.view.editors.pedal
Class DOut

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 net.sourceforge.geeboss.view.editors.pedal.Pedal
                      extended by net.sourceforge.geeboss.view.editors.pedal.DOut
All Implemented Interfaces:
Editor, ParameterUpdateListener, org.eclipse.swt.graphics.Drawable

public class DOut
extends Pedal

DOut pedal

Author:
Frederic BORRY

Field Summary
static org.eclipse.swt.graphics.Point DETAIL_BUTTON_LOCATION
          Detail button location
static org.eclipse.swt.graphics.Rectangle FOOT_SWITCH_BOUNDS
          Foot switch bounds
static org.eclipse.swt.graphics.Point LED_LOCATION
          Detail button location
 
Fields inherited from class net.sourceforge.geeboss.view.editors.pedal.Pedal
HEIGHT, mBackgroundImage, mDetailButton, mEditorHandler, mLayeredBackgroundImage, WIDTH
 
Fields inherited from class org.eclipse.swt.widgets.Control
handle
 
Constructor Summary
DOut(EditorHandler handler, org.eclipse.swt.widgets.Composite parent, int style, org.eclipse.swt.graphics.Image background)
          Create a new DOut component
 
Method Summary
protected  org.eclipse.swt.graphics.Image getBackgroundImage()
          Get the implementation specific background image
protected  org.eclipse.swt.graphics.Point getDetailButtonLocation()
          Get the implementation specific detail button location
protected  org.eclipse.swt.graphics.Rectangle getFootSwitchBounds()
          Get the implementation specific foot switch bounds
protected  org.eclipse.swt.graphics.Image getFootSwitchImage()
          Get the implementation specific foot switch image
protected  org.eclipse.swt.graphics.Image getFootSwitchPressedImage()
          Get the implementation specific foot switch pressed image
protected  org.eclipse.swt.graphics.Point getLedLocation()
          Get the implementation specific led location
 
Methods inherited from class net.sourceforge.geeboss.view.editors.pedal.Pedal
getBackGroundImage, getHandler, parametersUpdated, setActive
 
Methods inherited from class org.eclipse.swt.widgets.Composite
changed, checkSubclass, computeSize, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, setFocus, setLayout, setLayoutDeferred, setTabList
 
Methods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getClientArea, getHorizontalBar, getVerticalBar
 
Methods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addFocusListener, addHelpListener, addKeyListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addPaintListener, addTraverseListener, computeSize, forceFocus, getAccessible, getBackground, getBorderWidth, getBounds, 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, 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, checkWidget, dispose, getData, getData, getDisplay, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, setData, setData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FOOT_SWITCH_BOUNDS

public static final org.eclipse.swt.graphics.Rectangle FOOT_SWITCH_BOUNDS
Foot switch bounds


DETAIL_BUTTON_LOCATION

public static final org.eclipse.swt.graphics.Point DETAIL_BUTTON_LOCATION
Detail button location


LED_LOCATION

public static final org.eclipse.swt.graphics.Point LED_LOCATION
Detail button location

Constructor Detail

DOut

public DOut(EditorHandler handler,
            org.eclipse.swt.widgets.Composite parent,
            int style,
            org.eclipse.swt.graphics.Image background)
Create a new DOut component

Parameters:
handler - the associated editor handler
parent - the parent component
style - the style flag
background - the background the pedal will be displayed on
Method Detail

getDetailButtonLocation

protected org.eclipse.swt.graphics.Point getDetailButtonLocation()
Get the implementation specific detail button location

Specified by:
getDetailButtonLocation in class Pedal
Returns:
the implementation specific detail button location

getLedLocation

protected org.eclipse.swt.graphics.Point getLedLocation()
Get the implementation specific led location

Returns:
the implementation specific led location

getBackgroundImage

protected org.eclipse.swt.graphics.Image getBackgroundImage()
Get the implementation specific background image

Specified by:
getBackgroundImage in class Pedal
Returns:
the implementation specific background image

getFootSwitchBounds

protected org.eclipse.swt.graphics.Rectangle getFootSwitchBounds()
Get the implementation specific foot switch bounds

Returns:
the implementation specific foot switch bounds

getFootSwitchImage

protected org.eclipse.swt.graphics.Image getFootSwitchImage()
Get the implementation specific foot switch image

Returns:
the implementation specific foot switch image

getFootSwitchPressedImage

protected org.eclipse.swt.graphics.Image getFootSwitchPressedImage()
Get the implementation specific foot switch pressed image

Returns:
the implementation specific foot switch pressed image


Copyright (c) 2005 The Geeboss team (http://geeboss.sourceforge.net). All Rights Reserved.