org.herac.tuxguitar.gui.editors.tab
Class TGChordImpl
java.lang.Object
org.herac.tuxguitar.song.models.TGChord
org.herac.tuxguitar.gui.editors.tab.TGChordImpl
public class TGChordImpl
- extends TGChord
Methods inherited from class org.herac.tuxguitar.song.models.TGChord |
addFretValue, clone, countNotes, countStrings, getBeat, getFirstFret, getFretValue, getName, getStrings, setBeat, setFirstFret, setName, setStrings |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_FRETS
public static final int MAX_FRETS
- See Also:
- Constant Field Values
TGChordImpl
public TGChordImpl(int length)
isEditing
public boolean isEditing()
setEditing
public void setEditing(boolean editing)
setPosX
public void setPosX(int posX)
setPosY
public void setPosY(int posY)
getPosY
public int getPosY()
getWidth
public int getWidth()
getHeight
public int getHeight()
setStyle
public void setStyle(int style)
setTonic
public void setTonic(int tonic)
getForegroundColor
public Color getForegroundColor()
setForegroundColor
public void setForegroundColor(Color foregroundColor)
getBackgroundColor
public Color getBackgroundColor()
setBackgroundColor
public void setBackgroundColor(Color backgroundColor)
getColor
public Color getColor()
setColor
public void setColor(Color color)
getNoteColor
public Color getNoteColor()
setNoteColor
public void setNoteColor(Color noteColor)
getTonicColor
public Color getTonicColor()
setTonicColor
public void setTonicColor(Color tonicColor)
getFirstFretSpacing
public int getFirstFretSpacing()
setFirstFretSpacing
public void setFirstFretSpacing(int firstFretSpacing)
getFretSpacing
public int getFretSpacing()
setFretSpacing
public void setFretSpacing(int fretSpacing)
getStringSpacing
public int getStringSpacing()
setStringSpacing
public void setStringSpacing(int stringSpacing)
getNoteSize
public int getNoteSize()
setNoteSize
public void setNoteSize(int noteSize)
getFont
public Font getFont()
setFont
public void setFont(Font font)
getFirstFretFont
public Font getFirstFretFont()
setFirstFretFont
public void setFirstFretFont(Font firstFretFont)
paint
public void paint(ViewLayout layout,
TGPainter painter,
int fromX,
int fromY)
paint
public void paint(TGPainter painter,
int fromX,
int fromY)
update
public void update(TGPainter painter,
boolean makeBuffer)
updateName
protected void updateName(TGPainter painter)
updateDiagram
protected void updateDiagram(Device device)
paintDiagram
protected void paintDiagram(TGPainter painter,
int fromX,
int fromY)
calculateFirstFret
public void calculateFirstFret()
isDisposed
public boolean isDisposed()
dispose
public void dispose()
getPosX
public int getPosX()
getPaintPosition
public int getPaintPosition(int index)
getBeatImpl
public TGBeatImpl getBeatImpl()