org.herac.tuxguitar.gui.editors.piano
Class Piano

java.lang.Object
  extended by Composite
      extended by org.herac.tuxguitar.gui.editors.piano.Piano

public class Piano
extends Composite


Field Summary
protected  TGBeat beat
           
protected  Image image
           
 
Constructor Summary
Piano(Composite parent, int style)
           
 
Method Summary
protected  void afterAction()
           
protected  void configure()
           
 void dispose()
           
 Composite getPianoComposite()
           
 boolean hasChanges()
           
protected  void hit(int x, int y)
           
 void loadIcons()
           
 void loadProperties()
           
protected  void paintNote(TGPainter painter, int value)
          Pinta la nota a partir del indice
 void redraw()
           
 void redrawPlayingMode()
           
 void setChanges(boolean changes)
           
protected  void updateEditor()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

beat

protected TGBeat beat

image

protected Image image
Constructor Detail

Piano

public Piano(Composite parent,
             int style)
Method Detail

paintNote

protected void paintNote(TGPainter painter,
                         int value)
Pinta la nota a partir del indice

Parameters:
gc -
value -

hit

protected void hit(int x,
                   int y)

afterAction

protected void afterAction()

hasChanges

public boolean hasChanges()

setChanges

public void setChanges(boolean changes)

updateEditor

protected void updateEditor()

redraw

public void redraw()

redrawPlayingMode

public void redrawPlayingMode()

dispose

public void dispose()

loadProperties

public void loadProperties()

loadIcons

public void loadIcons()

configure

protected void configure()

getPianoComposite

public Composite getPianoComposite()