Class MusicalKeyTextRenderer
- java.lang.Object
-
- com.tagtraum.beatunes.keyrenderer.MusicalKeyTextRenderer
-
- All Implemented Interfaces:
KeyTextRenderer
public class MusicalKeyTextRenderer extends Object implements KeyTextRenderer
Musical KeyTextRenderer.- Author:
- Hendrik Schreiber
-
-
Constructor Summary
Constructors Constructor Description MusicalKeyTextRenderer(BeaTunes application)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getName()
Short name of this renderer.String
toKeyString(Key key)
Create a textual representation for aKey
object.String
toString()
String
toToolTip(Key key)
Create a tooltip representation for aKey
object.
-
-
-
Constructor Detail
-
MusicalKeyTextRenderer
public MusicalKeyTextRenderer(BeaTunes application)
-
-
Method Detail
-
toKeyString
public String toKeyString(Key key)
Description copied from interface:KeyTextRenderer
Create a textual representation for aKey
object.- Specified by:
toKeyString
in interfaceKeyTextRenderer
- Parameters:
key
- key- Returns:
- textual representation
-
toToolTip
public String toToolTip(Key key)
Description copied from interface:KeyTextRenderer
Create a tooltip representation for aKey
object. This may also include <html>-tags.- Specified by:
toToolTip
in interfaceKeyTextRenderer
- Parameters:
key
- key- Returns:
- tooltip representation
-
getName
public String getName()
Description copied from interface:KeyTextRenderer
Short name of this renderer. To be used in the user interface.- Specified by:
getName
in interfaceKeyTextRenderer
- Returns:
- name
-
-