org.herac.tuxguitar.gui.system.config.items
Class StylesOption

java.lang.Object
  extended by SelectionAdapter
      extended by org.herac.tuxguitar.gui.system.config.items.Option
          extended by org.herac.tuxguitar.gui.system.config.items.StylesOption

public class StylesOption
extends Option


Field Summary
protected  Button defaultFontButton
           
protected  FontData defaultFontData
           
protected  boolean initialized
           
protected  Button linesColorButton
           
protected  RGB linesRGB
           
protected  Button lyricFontButton
           
protected  FontData lyricFontData
           
protected  Button noteFontButton
           
protected  FontData noteFontData
           
protected  Button playNoteColorButton
           
protected  RGB playNoteRGB
           
protected  Button printerDefaultFontButton
           
protected  FontData printerDefaultFontData
           
protected  Button printerLyricFontButton
           
protected  FontData printerLyricFontData
           
protected  Button printerNoteFontButton
           
protected  FontData printerNoteFontData
           
protected  Button printerTextFontButton
           
protected  FontData printerTextFontData
           
protected  Button printerTSFontButton
           
protected  FontData printerTSFontData
           
protected  Button scoreNoteColorButton
           
protected  RGB scoreNoteRGB
           
protected  Button tabNoteColorButton
           
protected  RGB tabNoteRGB
           
protected  Button textFontButton
           
protected  FontData textFontData
           
protected  Button timeSignatureFontButton
           
protected  FontData timeSignatureFontData
           
 
Fields inherited from class org.herac.tuxguitar.gui.system.config.items.Option
DEFAULT_INDENT
 
Constructor Summary
StylesOption(TGConfigEditor configEditor, ToolBar toolBar, Composite parent)
           
 
Method Summary
 void applyConfig(boolean force)
           
protected  void copyFontData(FontData src, FontData dst)
           
protected  void copyRGB(RGB src, RGB dst)
           
 void createOption()
           
protected  void loadColor(RGB src, RGB dst, Button button)
           
protected  void loadConfig()
           
protected  void loadFontData(FontData src, FontData dst, Button button)
           
 GridData makeButtonData()
           
protected  void setButtonFontData(Button button, FontData fontData)
           
 void updateConfig()
           
 void updateDefaults()
           
 
Methods inherited from class org.herac.tuxguitar.gui.system.config.items.Option
addSyncThread, computeSize, computeSize, dispose, getComposite, getConfig, getDefaults, getDisplay, getEditor, getGroupData, getShell, getTabbedData, getTabbedData, getTabbedData, getTabbedData, getTabbedData, getToolItem, isDisposed, loadCursor, makeGridData, makeGridData, pack, setVisible, showImageLabel, showLabel, showLabel, showLabel, widgetSelected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

initialized

protected boolean initialized

defaultFontData

protected FontData defaultFontData

noteFontData

protected FontData noteFontData

timeSignatureFontData

protected FontData timeSignatureFontData

textFontData

protected FontData textFontData

lyricFontData

protected FontData lyricFontData

printerDefaultFontData

protected FontData printerDefaultFontData

printerNoteFontData

protected FontData printerNoteFontData

printerTSFontData

protected FontData printerTSFontData

printerTextFontData

protected FontData printerTextFontData

printerLyricFontData

protected FontData printerLyricFontData

scoreNoteRGB

protected RGB scoreNoteRGB

tabNoteRGB

protected RGB tabNoteRGB

playNoteRGB

protected RGB playNoteRGB

linesRGB

protected RGB linesRGB

defaultFontButton

protected Button defaultFontButton

noteFontButton

protected Button noteFontButton

timeSignatureFontButton

protected Button timeSignatureFontButton

textFontButton

protected Button textFontButton

lyricFontButton

protected Button lyricFontButton

printerDefaultFontButton

protected Button printerDefaultFontButton

printerNoteFontButton

protected Button printerNoteFontButton

printerTSFontButton

protected Button printerTSFontButton

printerTextFontButton

protected Button printerTextFontButton

printerLyricFontButton

protected Button printerLyricFontButton

scoreNoteColorButton

protected Button scoreNoteColorButton

tabNoteColorButton

protected Button tabNoteColorButton

playNoteColorButton

protected Button playNoteColorButton

linesColorButton

protected Button linesColorButton
Constructor Detail

StylesOption

public StylesOption(TGConfigEditor configEditor,
                    ToolBar toolBar,
                    Composite parent)
Method Detail

createOption

public void createOption()
Specified by:
createOption in class Option

loadFontData

protected void loadFontData(FontData src,
                            FontData dst,
                            Button button)

loadColor

protected void loadColor(RGB src,
                         RGB dst,
                         Button button)

setButtonFontData

protected void setButtonFontData(Button button,
                                 FontData fontData)

copyFontData

protected void copyFontData(FontData src,
                            FontData dst)

copyRGB

protected void copyRGB(RGB src,
                       RGB dst)

loadConfig

protected void loadConfig()

makeButtonData

public GridData makeButtonData()

updateConfig

public void updateConfig()
Specified by:
updateConfig in class Option

updateDefaults

public void updateDefaults()
Specified by:
updateDefaults in class Option

applyConfig

public void applyConfig(boolean force)
Specified by:
applyConfig in class Option