dguitar.codecs.guitarPro
Class GPMixTableElement

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

public class GPMixTableElement
extends java.lang.Object

This class describes a mix table element.

Author:
Matthieu Wipliez

Field Summary
private  int _changeDuration
          The duration of the change in beats.
private  int _newValue
          The new value of the element.
 boolean applyToAllTracks
          Whether the change applies to all tracks.
 
Constructor Summary
GPMixTableElement()
          Creates a new MixTableElement.
 
Method Summary
 int getChangeDuration()
          Returns this element's duration of change.
 int getNewValue()
          Returns this element's new value.
 void setChangeDuration(int changeDuration)
          Sets this element's duration of change.
 void setNewValue(int newValue)
          Sets this element's new value.
 java.lang.String toString()
          Returns a string representation of this GPMixTableElement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

applyToAllTracks

public boolean applyToAllTracks
Whether the change applies to all tracks.


_changeDuration

private int _changeDuration
The duration of the change in beats.


_newValue

private int _newValue
The new value of the element.

Constructor Detail

GPMixTableElement

public GPMixTableElement()
Creates a new MixTableElement.

Method Detail

getChangeDuration

public int getChangeDuration()
Returns this element's duration of change.

Returns:
this element's duration of change.

getNewValue

public int getNewValue()
Returns this element's new value.

Returns:
this element's new value.

setChangeDuration

public void setChangeDuration(int changeDuration)
Sets this element's duration of change.

Parameters:
changeDuration - the duration of change to set.

setNewValue

public void setNewValue(int newValue)
Sets this element's new value.

Parameters:
newValue - the new value to set.

toString

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

See Also:
Object.toString()