Top Fields Constructors Methods
org.apache.pdfbox.debugger.streampane.tooltip

pack-priv abstract Class ColorToolTip

extends Object
implements ToolTip
Class Inheritance
All Implemented Interfaces
org.apache.pdfbox.debugger.streampane.tooltip.ToolTip
Known Direct Subclasses
org.apache.pdfbox.debugger.streampane.tooltip.GToolTip, org.apache.pdfbox.debugger.streampane.tooltip.KToolTip, org.apache.pdfbox.debugger.streampane.tooltip.RGToolTip, org.apache.pdfbox.debugger.streampane.tooltip.SCNToolTip
Imports
java.awt.Color, java.util.List

Author
Khyrul Bashar An abstract class for tooltips of color operators.

Field Summary

Modifier and TypeField and Description
private String

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static String
colorHexValue(Color color)

provides the Hex value for a Color instance.

pack-priv float[]

Returns:

float array containing color values.
extractColorValues
(String
String instance,
rowtext
)

Extract Color values from the row for which tooltip is going to be shown.

pack-priv String

Returns:

String instance, In html format.
getMarkUp
(String hexValue)

Create a html string that actually shows a colored rect.

public String
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

toolTipTextback to summary
private String toolTipText

Constructor Detail

ColorToolTipback to summary
pack-priv ColorToolTip()

Method Detail

colorHexValueback to summary
pack-priv static String colorHexValue(Color color)

provides the Hex value for a Color instance.

extractColorValuesback to summary
pack-priv float[] extractColorValues(String rowtext)

Extract Color values from the row for which tooltip is going to be shown.

Parameters
rowtext:String

String instance,

Returns:float[]

float array containing color values.

getMarkUpback to summary
pack-priv String getMarkUp(String hexValue)

Create a html string that actually shows a colored rect.

Returns:String

String instance, In html format.

getToolTipTextback to summary
public String getToolTipText()

Implements org.apache.pdfbox.debugger.streampane.tooltip.ToolTip.getToolTipText.

Annotations
@Override
setToolTipTextback to summary
public void setToolTipText(String toolTip)