|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.adf.view.faces.bi.component.BIComplexAttributeBase
oracle.adf.view.faces.bi.component.dataView.BaseFont
public abstract class BaseFont
Field Summary | |
---|---|
static org.apache.myfaces.trinidad.bean.PropertyKey |
BOLD_KEY
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
COLOR_KEY
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
ITALIC_KEY
|
protected java.awt.Color |
m_defaultFontColor
|
protected int |
m_defaultFontSize
|
protected int |
m_defaultFontStyle
|
protected java.lang.String |
m_defaultFontTypeface
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
NAME_KEY
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
SIZE_KEY
|
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
UNDERLINE_KEY
|
Fields inherited from class oracle.adf.view.faces.bi.component.BIComplexAttributeBase |
---|
ID_KEY, m_parent, TRANSIENT_KEY |
Constructor Summary | |
---|---|
BaseFont()
|
Method Summary | |
---|---|
void |
applyProperties(java.util.HashMap map)
Applications do not need to call this method. |
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType()
|
java.awt.Color |
getColor()
Retrieves the font color. |
java.lang.String |
getName()
Retrieves the name of the font. |
int |
getSize()
Retrieves the font size. |
boolean |
isBold()
Indicates whether this font is bold. |
boolean |
isItalic()
Indicates whether this font is italic. |
boolean |
isUnderline()
Indicates whether the text is underlined with one line. |
void |
resetStyleProperties()
Applications do not need to call this method. |
void |
setBold(boolean bold)
Specifies whether this fond is bold. |
void |
setColor(java.awt.Color newColor)
Specifies the font color. |
void |
setDefaultValues(java.lang.String fontTypeFace,
int fontStyle,
int fontSize,
java.awt.Color fontColor)
Application developers do not need to call this method. |
void |
setItalic(boolean isItalic)
Specifies whether this font is italic. |
void |
setName(java.lang.String name)
Specifies the name of the font. |
void |
setSize(int size)
Specifies the font size. |
void |
setUnderline(boolean underline)
Specifies whether the text is underlined. |
Methods inherited from class oracle.adf.view.faces.bi.component.BIComplexAttributeBase |
---|
getBooleanProperty, getFacesBean, getId, getParent, getProperty, getPropertyKey, getSetAttributeIndex, isTransient, isUpdated, processSetAttribute, processSetAttributeAndAdd, restoreState, saveState, setBooleanProperty, setId, setParent, setProperty, setTransient, setUpdated |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String m_defaultFontTypeface
protected int m_defaultFontStyle
protected int m_defaultFontSize
protected java.awt.Color m_defaultFontColor
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
public static final org.apache.myfaces.trinidad.bean.PropertyKey COLOR_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey NAME_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SIZE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey BOLD_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey ITALIC_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey UNDERLINE_KEY
Constructor Detail |
---|
public BaseFont()
Method Detail |
---|
public java.awt.Color getColor()
public void setColor(java.awt.Color newColor)
newColor
- The font color.public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name of the font.public int getSize()
awt.Font
.
public void setSize(int size)
awt.Font
.
If you set the FontSizeAbsolute
property of the graph to
false
, then calls to this method do nothing.
size
- The font size in points. Valid values are from 1 to 128,
inclusive. Values less than 1 are ignored.
If size
is greater than 128, then the
property is set to 128.Graph#setFontSizeAbsolute
public void setBold(boolean bold)
bold
- true
to make the font bold,
false
to make it not bold.public boolean isBold()
true
if the font is bold,
false
if it is not.public boolean isItalic()
true
if the font is italic,
false
if it is not.public void setItalic(boolean isItalic)
isItalic
- true
to make this font italic,
false
to make this font not italic.public void setUnderline(boolean underline)
underline
- true
to underline the text with one line,
false
to remove underlining.public boolean isUnderline()
true
if the text is underlined,
false
if it is not.public void applyProperties(java.util.HashMap map)
applyProperties
in class BIComplexAttributeBase
map
- hashMap that contains property value pairs.public void resetStyleProperties()
public void setDefaultValues(java.lang.String fontTypeFace, int fontStyle, int fontSize, java.awt.Color fontColor)
protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType
in class BIComplexAttributeBase
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |