Style Intelligence v12.0

inetsoft.report.filter
Class ColumnHighlight

java.lang.Object
  extended by inetsoft.report.filter.TextHighlight
      extended by inetsoft.report.filter.ColumnHighlight
All Implemented Interfaces:
Highlight, inetsoft.util.XMLSerializable, Serializable, Cloneable

public class ColumnHighlight
extends TextHighlight

Table HighLight class. This class defines some method of the highlight attribute for Table. It is a subclass of Highlight.

See Also:
Serialized Form

Field Summary
protected  int alignment
           
protected  int border
           
 
Fields inherited from class inetsoft.report.filter.TextHighlight
background, conditions, foreground, name, tFont
 
Fields inherited from interface inetsoft.report.filter.Highlight
TABLE, TEXT
 
Constructor Summary
ColumnHighlight()
          Create a default highlight.
ColumnHighlight(Highlight hl)
          Create a highlight and copy highlight definition.
 
Method Summary
 Object clone()
          Clone the object.
 int getAlignment()
          Set the alignment.
 int getBorder()
          Set the border.
 void parseXML(Element tag)
          Parse xml tree into this binding object.
 void setAlignment(int a)
          Set the alignment.
 void setBorder(int b)
          Set the Border.
 void writeXML(PrintWriter writer)
          Writer a group of Text Hightlight condition attributes to XML.
 
Methods inherited from class inetsoft.report.filter.TextHighlight
equals, getAllVariables, getBackground, getConditionGroup, getFont, getForeground, getName, isConditionEmpty, isEmpty, removeAllConditions, replaceVariables, setBackground, setConditionGroup, setFont, setForeground, setName, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

alignment

protected int alignment

border

protected int border
Constructor Detail

ColumnHighlight

public ColumnHighlight()
Create a default highlight.


ColumnHighlight

public ColumnHighlight(Highlight hl)
Create a highlight and copy highlight definition.

Method Detail

setBorder

public void setBorder(int b)
Set the Border.

Parameters:
b - int value

setAlignment

public void setAlignment(int a)
Set the alignment.

Parameters:
a - int value

getBorder

public int getBorder()
Set the border.


getAlignment

public int getAlignment()
Set the alignment.


writeXML

public void writeXML(PrintWriter writer)
Writer a group of Text Hightlight condition attributes to XML.

Specified by:
writeXML in interface Highlight
Specified by:
writeXML in interface inetsoft.util.XMLSerializable
Overrides:
writeXML in class TextHighlight

parseXML

public void parseXML(Element tag)
              throws Exception
Parse xml tree into this binding object.

Specified by:
parseXML in interface inetsoft.util.XMLSerializable
Overrides:
parseXML in class TextHighlight
Throws:
Exception

clone

public Object clone()
Description copied from class: TextHighlight
Clone the object.

Specified by:
clone in interface Highlight
Overrides:
clone in class TextHighlight

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