| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.report.style.ElementStyleSheet
org.jfree.report.style.ElementDefaultStyleSheet
The default element style sheet. This style sheet defines default attribute values for all elements.
The default valignment was modified to top.
| Field Summary | |
static FontDefinition | 
DEFAULT_FONT_DEFINITION
The default font.  | 
static java.awt.Color | 
DEFAULT_PAINT
The default paint.  | 
| Fields inherited from class org.jfree.report.style.ElementStyleSheet | 
ALIGNMENT, BOLD, BOUNDS, DYNAMIC_HEIGHT, ELEMENT_LAYOUT_CACHEABLE, EMBEDDED_FONT, FONT, FONTENCODING, FONTSIZE, ITALIC, KEEP_ASPECT_RATIO, LINEHEIGHT, MAXIMUMSIZE, MINIMUMSIZE, PAINT, PREFERREDSIZE, RESERVED_LITERAL, SCALE, STRIKETHROUGH, STROKE, TRIM_TEXT_CONTENT, UNDERLINED, VALIGNMENT, VISIBLE | 
| Constructor Summary | |
protected  | 
ElementDefaultStyleSheet()
Creates a new style sheet.  | 
| Method Summary | |
 ElementStyleSheet | 
getCopy()
Clones the style-sheet.  | 
static ElementDefaultStyleSheet | 
getDefaultStyle()
Returns the default element style sheet.  | 
 boolean | 
isGlobalDefault()
Returns true, if this stylesheet is one of the global default stylesheets.  | 
protected  boolean | 
isLocked()
Gets the locked state of this stylesheet.  | 
 void | 
registerStyleSheetCollection(StyleSheetCollection styleSheetCollection)
This method does nothing.  | 
protected  void | 
setLocked(boolean locked)
Defines the locked-state for this stylesheet.  | 
 void | 
setStyleProperty(StyleKey key,
                 java.lang.Object value)
Sets a style property (or removes the style if the value is null). | 
 void | 
unregisterStyleSheetCollection(StyleSheetCollection styleSheetCollection)
This method does nothing.  | 
| Methods inherited from class java.lang.Object | 
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
public static final java.awt.Color DEFAULT_PAINT
public static final FontDefinition DEFAULT_FONT_DEFINITION
| Constructor Detail | 
protected ElementDefaultStyleSheet()
| Method Detail | 
protected boolean isLocked()
protected void setLocked(boolean locked)
locked - true, if the stylesheet is locked and read-only, false otherwise.public static final ElementDefaultStyleSheet getDefaultStyle()
public void setStyleProperty(StyleKey key,
                             java.lang.Object value)
null).
setStyleProperty in class ElementStyleSheetkey - the style key (null not permitted).value - the value.
java.lang.NullPointerException - if the given key is null.
java.lang.ClassCastException - if the value cannot be assigned with the given key.
java.lang.UnsupportedOperationException - as this style sheet is read only.public ElementStyleSheet getCopy()
getCopy in class ElementStyleSheetpublic final void registerStyleSheetCollection(StyleSheetCollection styleSheetCollection)
registerStyleSheetCollection in class ElementStyleSheetstyleSheetCollection - the stylesheet collection that should be registered.public final void unregisterStyleSheetCollection(StyleSheetCollection styleSheetCollection)
unregisterStyleSheetCollection in class ElementStyleSheetstyleSheetCollection - the stylesheet collection that should be registered.public boolean isGlobalDefault()
isGlobalDefault in class ElementStyleSheet
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||