|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
net.sourceforge.geeboss.view.editors.pedal.Pedal
public abstract class Pedal
Base class for pedals
Field Summary | |
---|---|
static int |
HEIGHT
Pedal height |
protected org.eclipse.swt.graphics.Image |
mBackgroundImage
Background image |
protected LedButton |
mDetailButton
Detail button |
protected EditorHandler |
mEditorHandler
Reference to EditorHandler |
protected org.eclipse.swt.graphics.Image |
mLayeredBackgroundImage
Layered background image |
static int |
WIDTH
Pedal width |
Fields inherited from class org.eclipse.swt.widgets.Control |
---|
handle |
Constructor Summary | |
---|---|
Pedal(EditorHandler handler,
org.eclipse.swt.widgets.Composite parent,
int style,
org.eclipse.swt.graphics.Image background)
Create a new pedal component |
Method Summary | |
---|---|
protected abstract org.eclipse.swt.graphics.Image |
getBackgroundImage()
Get the implementation specific background image |
org.eclipse.swt.graphics.Image |
getBackGroundImage()
Get this pedal's background image |
protected abstract org.eclipse.swt.graphics.Point |
getDetailButtonLocation()
Get the implementation specific detail button location |
EditorHandler |
getHandler()
Returns the handler of this editor |
void |
parametersUpdated(java.util.List<Parameter> parameters)
Notify the listener that the provided parameters have been updated |
void |
setActive(boolean active)
Set the active state for this pedal |
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 |
---|
public static final int WIDTH
public static final int HEIGHT
protected org.eclipse.swt.graphics.Image mBackgroundImage
protected org.eclipse.swt.graphics.Image mLayeredBackgroundImage
protected LedButton mDetailButton
protected EditorHandler mEditorHandler
Constructor Detail |
---|
public Pedal(EditorHandler handler, org.eclipse.swt.widgets.Composite parent, int style, org.eclipse.swt.graphics.Image background)
handler
- the associated editor handlerparent
- the parent componentstyle
- the style flagbackground
- the background the pedal will be displayed onMethod Detail |
---|
public void setActive(boolean active)
active
- the active state for this pedalpublic EditorHandler getHandler()
getHandler
in interface Editor
public void parametersUpdated(java.util.List<Parameter> parameters)
parametersUpdated
in interface ParameterUpdateListener
parameters
- the changed paramertersprotected abstract org.eclipse.swt.graphics.Image getBackgroundImage()
protected abstract org.eclipse.swt.graphics.Point getDetailButtonLocation()
public org.eclipse.swt.graphics.Image getBackGroundImage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |