org.herac.tuxguitar.gui.marker
Class MarkerEditor

java.lang.Object
  extended by org.herac.tuxguitar.gui.marker.MarkerEditor

public class MarkerEditor
extends java.lang.Object


Field Summary
protected  boolean accepted
           
protected  Button colorButton
           
protected  Shell dialog
           
protected  TGMarker marker
           
protected  Spinner measureSpinner
           
static int STATUS_EDIT
           
static int STATUS_NEW
           
protected  Text titleText
           
 
Constructor Summary
MarkerEditor(TGMarker marker)
           
MarkerEditor(TGMarker marker, int status)
           
 
Method Summary
 boolean open(Shell shell)
           
protected  void updateMarker()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STATUS_NEW

public static final int STATUS_NEW
See Also:
Constant Field Values

STATUS_EDIT

public static final int STATUS_EDIT
See Also:
Constant Field Values

marker

protected TGMarker marker

dialog

protected Shell dialog

measureSpinner

protected Spinner measureSpinner

titleText

protected Text titleText

colorButton

protected Button colorButton

accepted

protected boolean accepted
Constructor Detail

MarkerEditor

public MarkerEditor(TGMarker marker)

MarkerEditor

public MarkerEditor(TGMarker marker,
                    int status)
Method Detail

open

public boolean open(Shell shell)

updateMarker

protected void updateMarker()