|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.report.filter.TextHighlight
public class TextHighlight
Text and Textbox HighLight class. This class defines some method of the highlight attribute for Text and TextBox. It is a subclass of Highlight.
| Field Summary | |
|---|---|
protected Color |
background
|
protected ConditionList |
conditions
|
protected Color |
foreground
|
protected String |
name
|
protected Font |
tFont
|
| Fields inherited from interface inetsoft.report.filter.Highlight |
|---|
TABLE, TEXT |
| Constructor Summary | |
|---|---|
TextHighlight()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Clone the object. |
boolean |
equals(Object obj)
Check if equals another object. |
UserVariable[] |
getAllVariables()
get all variable from condition |
Color |
getBackground()
Get the background. |
ConditionList |
getConditionGroup()
Clear the condition. |
Font |
getFont()
Get the font. |
Color |
getForeground()
Get the foreground. |
String |
getName()
Get the name value. |
boolean |
isConditionEmpty()
Check if condition is empty. |
boolean |
isEmpty()
Check if the highlight is empty. |
void |
parseXML(Element tag)
Parse xml tree into this binding object. |
void |
removeAllConditions()
Clear the condition. |
void |
replaceVariables(VariableTable vart)
replace variable with value user inputed |
void |
setBackground(Color bGround)
Set the background. |
void |
setConditionGroup(ConditionList con)
Set the condition value. |
void |
setFont(Font f)
Set the font. |
void |
setForeground(Color fGround)
Set the foreground. |
void |
setName(String name)
Set the name value. |
String |
toString()
Get the string representation. |
void |
writeXML(PrintWriter writer)
Writer a group of Text Hightlight condition attributes to XML. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Font tFont
protected Color foreground
protected Color background
protected String name
protected ConditionList conditions
| Constructor Detail |
|---|
public TextHighlight()
| Method Detail |
|---|
public void setFont(Font f)
setFont in interface Highlightf - Font value;public void setForeground(Color fGround)
setForeground in interface HighlightfGround - color valuepublic void setBackground(Color bGround)
setBackground in interface HighlightbGround - color valuepublic void setConditionGroup(ConditionList con)
setConditionGroup in interface Highlightcon - Vector valuepublic void setName(String name)
setName in interface Highlightname - string valuepublic Font getFont()
getFont in interface Highlightpublic Color getForeground()
getForeground in interface Highlightpublic Color getBackground()
getBackground in interface Highlightpublic String getName()
getName in interface Highlightpublic boolean isEmpty()
isEmpty in interface Highlightpublic boolean isConditionEmpty()
isConditionEmpty in interface Highlightpublic void removeAllConditions()
removeAllConditions in interface Highlightpublic ConditionList getConditionGroup()
getConditionGroup in interface Highlightpublic void writeXML(PrintWriter writer)
writeXML in interface HighlightwriteXML in interface inetsoft.util.XMLSerializable
public void parseXML(Element tag)
throws Exception
parseXML in interface inetsoft.util.XMLSerializableExceptionpublic UserVariable[] getAllVariables()
getAllVariables in interface Highlightpublic void replaceVariables(VariableTable vart)
replaceVariables in interface Highlightvart - variable tablepublic Object clone()
clone in interface Highlightclone in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||