|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.Component
org.apache.wicket.markup.html.WebComponent
org.apache.wicket.markup.html.image.Image
net.databinder.components.RenderedLabel
net.databinder.components.BatikRenderedLabel
public class BatikRenderedLabel
Renders text without font hinting, which can be better for some fonts at larger sizes. The standard Java pipeline does not allow hinting to be disabled; Batik does.
| Nested Class Summary | |
|---|---|
protected static class |
BatikRenderedLabel.BatikRenderedTextImageResource
|
| Nested classes/interfaces inherited from class net.databinder.components.RenderedLabel |
|---|
RenderedLabel.RenderedTextImageResource |
| Nested classes/interfaces inherited from class org.apache.wicket.Component |
|---|
org.apache.wicket.Component.ComponentModelChange, org.apache.wicket.Component.EnabledChange, org.apache.wicket.Component.IVisitor, org.apache.wicket.Component.VisibilityChange |
| Field Summary |
|---|
| Fields inherited from class org.apache.wicket.Component |
|---|
ENABLE, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED6, FLAG_RESERVED7, FLAG_RESERVED8, PATH_SEPARATOR, RENDER |
| Fields inherited from interface org.apache.wicket.IResourceListener |
|---|
INTERFACE |
| Constructor Summary | |
|---|---|
BatikRenderedLabel(java.lang.String id)
|
|
BatikRenderedLabel(java.lang.String id,
boolean shareResource)
|
|
BatikRenderedLabel(java.lang.String id,
org.apache.wicket.model.IModel model)
|
|
BatikRenderedLabel(java.lang.String id,
org.apache.wicket.model.IModel model,
boolean shareResource)
|
|
| Method Summary | |
|---|---|
static void |
loadSharedResources(java.lang.String text,
java.awt.Font font,
java.awt.Color color,
java.awt.Color backgroundColor,
java.lang.Integer maxWidth)
|
protected RenderedLabel.RenderedTextImageResource |
newRenderedTextImageResource(boolean isShared)
Create a new image resource to render this label. |
| Methods inherited from class net.databinder.components.RenderedLabel |
|---|
fontForResource, getBackgroundColor, getColor, getFont, getLabelHash, getLabelHash, getMaxWidth, init, initModel, isAntiAliased, isVisible, loadSharedResources, onBeforeRender, onComponentTag, setAntiAlias, setBackgroundColor, setColor, setFont, setMaxWidth |
| Methods inherited from class org.apache.wicket.markup.html.image.Image |
|---|
getImageResource, getImageResourceReference, getStatelessHint, onComponentTagBody, onResourceRequested, setImageResource, setImageResourceReference, setImageResourceReference, setModel |
| Methods inherited from class org.apache.wicket.markup.html.WebComponent |
|---|
onRender |
| Methods inherited from class org.apache.wicket.Component |
|---|
add, addStateChange, afterRender, beforeRender, callOnBeforeRenderIfNotVisible, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, continueToOriginalDestination, debug, detach, detachBehaviors, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getApplication, getBehaviors, getBehaviors, getClassRelativePath, getComponentBorder, getConverter, getConverter, getEscapeModelStrings, getFeedbackMessage, getFlag, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkupAttributes, getMarkupId, getMarkupId, getMetaData, getModel, getModelComparator, getModelObject, getModelObjectAsString, getModelObjectAsString, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageFactory, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getResponse, getSession, getSizeInBytes, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, internalAttach, internalDetach, internalOnAttach, internalOnDetach, internalOnModelChanged, isActionAuthorized, isAncestorOf, isAttached, isBehaviorAccepted, isEnableAllowed, isEnabled, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisibleInHierarchy, locateMarkupStream, markAttached, markRendering, modelChanged, modelChanging, newPage, newPage, onAfterRender, onAttach, onBeginRequest, onDetach, onEndRequest, onModelChanged, onModelChanging, prepareForRender, redirectToInterceptPage, remove, remove, render, render, renderComponent, renderComponent, renderComponentTag, rendered, renderHead, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, setAuto, setComponentBorder, setEnabled, setEscapeModelStrings, setFlag, setFlag, setIgnoreAttributeModifier, setMarkupId, setMarkupStream, setMetaData, setModelObject, setOutputMarkupId, setOutputMarkupPlaceholderTag, setRedirect, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, toString, toString, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, warn, wrap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BatikRenderedLabel(java.lang.String id)
public BatikRenderedLabel(java.lang.String id,
boolean shareResource)
public BatikRenderedLabel(java.lang.String id,
org.apache.wicket.model.IModel model)
public BatikRenderedLabel(java.lang.String id,
org.apache.wicket.model.IModel model,
boolean shareResource)
| Method Detail |
|---|
public static void loadSharedResources(java.lang.String text,
java.awt.Font font,
java.awt.Color color,
java.awt.Color backgroundColor,
java.lang.Integer maxWidth)
protected RenderedLabel.RenderedTextImageResource newRenderedTextImageResource(boolean isShared)
RenderedLabel
newRenderedTextImageResource in class RenderedLabelisShared - is a shared, cacheable resource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||