|
Calendar Component v5.1 www.calendarcomponent.com |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.imagine.component.calendar.skins.wrapper.FontWrapper
Defines wrapper information regarding a font. It describes the style, the family, the size of a font and also describes whether the family and size should be considered or should be taken from the parent component.
| Constructor Summary | |
FontWrapper(CalendarProperty calendarProperty)
Constructor for the FontWrapper object. |
|
| Method Summary | |
java.lang.String |
getFamily()
Get the font family. |
java.awt.Font |
getFont(java.awt.Font defaultFont)
Get the font wrapped by this object. |
int |
getSize()
Returns the font size. |
int |
getStyle()
Get the font style. |
CalendarProperty |
getWrappedCalendarProperty()
Get the wrapped font calendar property. |
boolean |
isDefaultFamilyAndSize()
Return true if the family and size should be taken from the parent component. false otherwise. |
void |
setDefaultFamilyAndSize(boolean defaultFamilyAndSize)
Set to true if the family and size should be taken from the parent component. |
void |
setFamily(java.lang.String family)
Set the font family. |
void |
setSize(int size)
Set the font size. |
void |
setStyle(int style)
Set the font style. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FontWrapper(CalendarProperty calendarProperty)
calendarProperty - The wrapped font calendar property.| Method Detail |
public boolean isDefaultFamilyAndSize()
public void setDefaultFamilyAndSize(boolean defaultFamilyAndSize)
defaultFamilyAndSize - true if the family and size should be taken from the parent component. false otherwise.public java.lang.String getFamily()
public void setFamily(java.lang.String family)
family - The font family.public int getSize()
public void setSize(int size)
size - The font size.public int getStyle()
public void setStyle(int style)
style - The font style.public CalendarProperty getWrappedCalendarProperty()
public java.awt.Font getFont(java.awt.Font defaultFont)
defaultFont - The returned font may be based on this parameter if isDefaultFamilyAndSize() returns true.
|
Calendar Component v5.1 www.calendarcomponent.com |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||