Style Intelligence v12.0

inetsoft.report.filter
Interface Highlight

All Superinterfaces:
Cloneable, Serializable, inetsoft.util.XMLSerializable
All Known Implementing Classes:
ColumnHighlight, TextHighlight

public interface Highlight
extends Serializable, inetsoft.util.XMLSerializable, Cloneable

HighLight interface. This class defines the common API of the highlight attribute.


Field Summary
static String TABLE
          Table highlight attribute
static String TEXT
          Text highlight attribute
 
Method Summary
 Object clone()
          Make a copy of this object.
 UserVariable[] getAllVariables()
          Get all variable from condition
 Color getBackground()
          Get the background.
 ConditionList getConditionGroup()
          Get the condition group.
 Font getFont()
          Get the font.
 Color getForeground()
          Get the foreground.
 String getName()
          Get the name value.
 boolean isConditionEmpty()
          Check if the Condition vector is empty.
 boolean isEmpty()
          Check if the highlight is empty.
 void removeAllConditions()
          Clear the condition.
 void replaceVariables(VariableTable vart)
          Replace variable with value user inputed
 void setBackground(Color backGround)
          Set the background.
 void setConditionGroup(ConditionList con)
          Set the condition value.
 void setFont(Font f)
          Set the font.
 void setForeground(Color foreGround)
          Set the foreground.
 void setName(String name)
          Set the name value.
 void writeXML(PrintWriter writer)
          Writer a group of hightlight condition attributes to XML.
 
Methods inherited from interface inetsoft.util.XMLSerializable
parseXML
 

Field Detail

TEXT

static final String TEXT
Text highlight attribute

See Also:
Constant Field Values

TABLE

static final String TABLE
Table highlight attribute

See Also:
Constant Field Values
Method Detail

setFont

void setFont(Font f)
Set the font.

Parameters:
f - Font value;

setForeground

void setForeground(Color foreGround)
Set the foreground.

Parameters:
foreGround - color value

setBackground

void setBackground(Color backGround)
Set the background.

Parameters:
backGround - color value

setName

void setName(String name)
Set the name value.

Parameters:
name - string value

setConditionGroup

void setConditionGroup(ConditionList con)
Set the condition value.

Parameters:
con - Vector value

getFont

Font getFont()
Get the font.


getForeground

Color getForeground()
Get the foreground.


getBackground

Color getBackground()
Get the background.


getName

String getName()
Get the name value.


isEmpty

boolean isEmpty()
Check if the highlight is empty.


isConditionEmpty

boolean isConditionEmpty()
Check if the Condition vector is empty.


removeAllConditions

void removeAllConditions()
Clear the condition.


getConditionGroup

ConditionList getConditionGroup()
Get the condition group.


writeXML

void writeXML(PrintWriter writer)
Writer a group of hightlight condition attributes to XML.

Specified by:
writeXML in interface inetsoft.util.XMLSerializable

clone

Object clone()
Make a copy of this object.


getAllVariables

UserVariable[] getAllVariables()
Get all variable from condition

Returns:
user variable array

replaceVariables

void replaceVariables(VariableTable vart)
Replace variable with value user inputed

Parameters:
vart - variable table

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.