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

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

public class OdDs
extends TwoButtonStomp

OdDs stomp box

Author:
Frederic BORRY

Nested Class Summary
 
Nested classes/interfaces inherited from class net.sourceforge.geeboss.view.editors.pedal.LedPedal
LedPedal.FootSwitch
 
Field Summary
 
Fields inherited from class net.sourceforge.geeboss.view.editors.pedal.TwoButtonStomp
LEFT_KNOB_X_LOCATION, LEFT_KNOB_Y_LOCATION, mLeftKnob, mRightKnob, RIGHT_KNOB_X_LOCATION, RIGHT_KNOB_Y_LOCATION
 
Fields inherited from class net.sourceforge.geeboss.view.editors.pedal.Stomp
DETAIL_BUTTON_LOCATION, FOOT_SWITCH_BOUNDS, FOOT_SWITCH_X_LOCATION, FOOT_SWITCH_Y_LOCATION, LED_LOCATION
 
Fields inherited from class net.sourceforge.geeboss.view.editors.pedal.LedPedal
mFootSwitch, mStateLed
 
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
OdDs(EditorHandler handler, org.eclipse.swt.widgets.Composite parent, int style, org.eclipse.swt.graphics.Image background)
          Create a new OD/DS stomp
 
Method Summary
protected  org.eclipse.swt.graphics.Image getBackgroundImage()
          Get the implementation specific background image
 int getDrive()
           
protected  Parameter getLeftParameter()
          Returns the implementation specific left parameter
protected  Parameter getRightParameter()
          Returns the implementation specific right parameter
 void setDrive(int aDrive)
           
 
Methods inherited from class net.sourceforge.geeboss.view.editors.pedal.Stomp
getDetailButtonLocation, getFootSwitchBounds, getFootSwitchImage, getFootSwitchPressedImage, getLedLocation
 
Methods inherited from class net.sourceforge.geeboss.view.editors.pedal.LedPedal
getOnOffState
 
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
 

Constructor Detail

OdDs

public OdDs(EditorHandler handler,
            org.eclipse.swt.widgets.Composite parent,
            int style,
            org.eclipse.swt.graphics.Image background)
Create a new OD/DS stomp

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

getLeftParameter

protected Parameter getLeftParameter()
Returns the implementation specific left parameter

Specified by:
getLeftParameter in class TwoButtonStomp
Returns:
the implementation specific left parameter

getRightParameter

protected Parameter getRightParameter()
Returns the implementation specific right parameter

Specified by:
getRightParameter in class TwoButtonStomp
Returns:
the implementation specific right parameter

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

getDrive

public int getDrive()

setDrive

public void setDrive(int aDrive)


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