Class DefaultKeyTextRenderer
- java.lang.Object
-
- com.tagtraum.beatunes.keyrenderer.DefaultKeyTextRenderer
-
- All Implemented Interfaces:
KeyTextRenderer
public class DefaultKeyTextRenderer extends Object implements KeyTextRenderer
DefaultKeyTextRenderer
.- Author:
- Hendrik Schreiber
-
-
Constructor Summary
Constructors Constructor Description DefaultKeyTextRenderer(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
-
DefaultKeyTextRenderer
public DefaultKeyTextRenderer(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
-
-