Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.jfree.layouting.output.AbstractOutputProcessorMetaData
public abstract class AbstractOutputProcessorMetaData
extends java.lang.Object
implements OutputProcessorMetaData
Constructor Summary | |
|
Method Summary | |
protected void | |
PageSize |
|
FontFamily |
|
FontMetrics | |
protected FontRegistry | |
double |
|
FontStorage |
|
int |
|
String |
|
String |
|
double | |
Class[] | |
int |
|
boolean | |
boolean |
|
protected void |
|
protected void |
|
public PageSize getDefaultPageSize()
Returns the default physical page size. If not defined otherwise, this will also be the logical size.
- Specified by:
- getDefaultPageSize in interface OutputProcessorMetaData
- Returns:
public FontFamily getFontFamilyForGenericName(CSSConstant genericName)
- Specified by:
- getFontFamilyForGenericName in interface OutputProcessorMetaData
public FontMetrics getFontMetrics(FontSpecification spec)
- Specified by:
- getFontMetrics in interface OutputProcessorMetaData
protected FontRegistry getFontRegistry()
public double getFontSize(CSSConstant constant)
- Specified by:
- getFontSize in interface OutputProcessorMetaData
public FontStorage getFontStorage()
Although most font systems are global, some may have some issues with caching. OutputTargets may have to tweak the font storage system to their needs.
- Specified by:
- getFontStorage in interface OutputProcessorMetaData
- Returns:
public int getHorizontalPageSpan()
Returns the horizontal page span. If the value is less than one, it will be corrected to one.
- Specified by:
- getHorizontalPageSpan in interface OutputProcessorMetaData
- Returns:
public String getMediaType()
Returns the media type of the output target. This corresponds directly to the CSS defined media types and is used as a selector.
- Specified by:
- getMediaType in interface OutputProcessorMetaData
- Returns:
- the media type of the output target.
public String getNormalizedFontFamilyName(String name)
- Specified by:
- getNormalizedFontFamilyName in interface OutputProcessorMetaData
public double getNumericFeatureValue(OutputProcessorFeature.NumericOutputProcessorFeature feature)
- Specified by:
- getNumericFeatureValue in interface OutputProcessorMetaData
public Class[] getSupportedResourceTypes()
- Specified by:
- getSupportedResourceTypes in interface OutputProcessorMetaData
public int getVerticalPageSpan()
Returns the vertical page span. If the value is zero or negative, no
- Specified by:
- getVerticalPageSpan in interface OutputProcessorMetaData
- Returns:
public boolean isFeatureSupported(OutputProcessorFeature.BooleanOutputProcessorFeature feature)
- Specified by:
- isFeatureSupported in interface OutputProcessorMetaData
public boolean isValid(FontSpecification spec)
- Specified by:
- isValid in interface OutputProcessorMetaData
protected void setNumericFeatureValue(OutputProcessorFeature.NumericOutputProcessorFeature feature, double value)