dguitar.codecs.guitarPro
Class GPMarker

java.lang.Object
  extended bydguitar.codecs.guitarPro.GPMarker

public class GPMarker
extends java.lang.Object

This class describes a marker.

Author:
Matthieu Wipliez

Field Summary
private  GPColor _color
          The marker's color.
private  java.lang.String _name
          The marker's name.
 
Constructor Summary
GPMarker()
          Creates a new Marker.
 
Method Summary
 GPColor getColor()
          Returns this marker's color.
 java.lang.String getName()
          Returns this marker's name.
 void setColor(GPColor color)
          Sets this marker's color.
 void setName(java.lang.String name)
          Sets this marker's name.
 java.lang.String toString()
          Returns a string representation of this Marker.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_color

private GPColor _color
The marker's color.


_name

private java.lang.String _name
The marker's name.

Constructor Detail

GPMarker

public GPMarker()
Creates a new Marker.

Method Detail

getColor

public GPColor getColor()
Returns this marker's color.

Returns:
this marker's color.

getName

public java.lang.String getName()
Returns this marker's name.

Returns:
this marker's name.

setColor

public void setColor(GPColor color)
Sets this marker's color.

Parameters:
color - the color to set.

setName

public void setName(java.lang.String name)
Sets this marker's name.

Parameters:
name - the name to set.

toString

public java.lang.String toString()
Returns a string representation of this Marker.