@API(type=EXTENDABLE,
src=PRIVATE)
public class ProfilingAttributeStylePO
extends java.lang.Object
implements PersistentObject
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ANY_VALUE
Wildcard constant for the attribute value.
|
static java.lang.String |
DOUBLE_UNDERLINE
Text decoration double underline
|
static int |
NO_COLOR
No color.
|
static java.lang.String |
OVERLINE
Text decoration overline
|
static java.lang.String |
UNDERLINE
Text decoration underline
|
| Constructor and Description |
|---|
ProfilingAttributeStylePO()
Constructor.
|
ProfilingAttributeStylePO(java.lang.String framework,
java.lang.String attributeName,
java.lang.String attributeValue,
int foreground,
int background,
java.lang.String textDecoration,
boolean bold,
boolean italic)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkValid()
Check if object is valid to be used.
|
java.lang.Object |
clone()
Forces all the persistent objects to be cloneable.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAttributeName() |
java.lang.String |
getAttributeValue() |
int |
getBackgroundColor() |
java.lang.String |
getDocumentTypePattern() |
int |
getForegroundColor() |
java.lang.String[] |
getNotPersistentFieldNames() |
java.lang.String |
getTextDecoration()
Get the text decoration to be applied on the content profiled by
using this condition value.
|
int |
hashCode() |
boolean |
isBold() |
boolean |
isEmpty() |
boolean |
isItalic() |
void |
setAttributeName(java.lang.String attributeName)
Set the profiling attribute name.
|
void |
setAttributeValue(java.lang.String attributeValue)
Set the profiling attribute value.
|
void |
setBackgroundColor(int backgroundColor)
Set the background color to be applied on the content profiled by
using this condition value.
|
void |
setBold(boolean bold) |
void |
setDocTypePattern(java.lang.String docTypePattern)
Set the document type pattern.
|
void |
setForegroundColor(int foregroundColor)
Set the foreground color to be applied on the content profiled by
using this condition value.
|
void |
setItalic(boolean italic) |
void |
setTextDecoration(java.lang.String textDecoration) |
java.lang.String |
toString() |
public static final java.lang.String UNDERLINE
public static final java.lang.String DOUBLE_UNDERLINE
public static final java.lang.String OVERLINE
public static final java.lang.String ANY_VALUE
public static final int NO_COLOR
public ProfilingAttributeStylePO()
public ProfilingAttributeStylePO(java.lang.String framework,
java.lang.String attributeName,
java.lang.String attributeValue,
int foreground,
int background,
java.lang.String textDecoration,
boolean bold,
boolean italic)
framework - The name of the document type.attributeName - The attribute name.attributeValue - The attribute value.foreground - Foreground color to be applied on the content profiled by
using this condition value.background - Background color to be applied on the content profiled by
using this condition value.textDecoration - Text decoration to be applied on the content profiled by
using this condition value.bold - true if the bold style should be applied on the
content profiled by using this condition value.italic - true if the italic style should be applied on the
content profiled by using this condition value.public void setDocTypePattern(java.lang.String docTypePattern)
docTypePattern - The document type pattern.public void setAttributeName(java.lang.String attributeName)
attributeName - The profiling attribute name.public void setAttributeValue(java.lang.String attributeValue)
attributeValue - The profiling attribute value.public void setForegroundColor(int foregroundColor)
foregroundColor - The foreground color.public int getForegroundColor()
public void setBackgroundColor(int backgroundColor)
backgroundColor - The background color.public int getBackgroundColor()
public void checkValid()
throws ro.sync.options.InvalidPersistentObjException
PersistentObjectInvalidPersistentObjException exception.checkValid in interface PersistentObjectInvalidPersistentObjException - Thrown when instance is not valid.PersistentObject.checkValid()public java.lang.String[] getNotPersistentFieldNames()
getNotPersistentFieldNames in interface PersistentObjectPersistentObject.getNotPersistentFieldNames()public java.lang.Object clone()
PersistentObjectclone in interface PersistentObjectclone in class java.lang.ObjectObject.clone()public java.lang.String getDocumentTypePattern()
public java.lang.String getAttributeName()
public java.lang.String getAttributeValue()
public void setTextDecoration(java.lang.String textDecoration)
textDecoration - Text decoration to be applied on the content profiled by
using this condition value.public java.lang.String getTextDecoration()
public void setBold(boolean bold)
bold - true if the bold style should be applied on the
content profiled by using this condition value.public boolean isBold()
true if the bold style should be applied on the
content profiled by using this condition value.public void setItalic(boolean italic)
italic - true if the italic style should be applied on the
content profiled by using this condition value.public boolean isItalic()
true if the italic style should be applied on the
content profiled by using this condition value.public boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public boolean isEmpty()
true if the profiling style is empty, meaning no text style, decoration and colors have been set.© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.