org.openxri.admin.resources
Class AuthorityImageResource
java.lang.Object
org.apache.wicket.Resource
org.apache.wicket.markup.html.WebResource
org.apache.wicket.markup.html.DynamicWebResource
org.apache.wicket.markup.html.image.resource.DynamicImageResource
org.apache.wicket.markup.html.image.resource.RenderedDynamicImageResource
org.openxri.admin.resources.AuthorityImageResource
- All Implemented Interfaces:
- java.io.Serializable, org.apache.wicket.IClusterable, org.apache.wicket.IRequestListener, org.apache.wicket.IResourceListener
public class AuthorityImageResource
- extends org.apache.wicket.markup.html.image.resource.RenderedDynamicImageResource
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class org.apache.wicket.markup.html.DynamicWebResource |
org.apache.wicket.markup.html.DynamicWebResource.ResourceState |
Fields inherited from interface org.apache.wicket.IResourceListener |
INTERFACE |
Method Summary |
org.apache.wicket.markup.html.link.ImageMap |
createImageMap(java.lang.String id)
|
protected boolean |
render(java.awt.Graphics2D graphics)
|
protected void |
renderAuthority(java.awt.Graphics2D graphics,
int x,
int y,
java.lang.String name)
|
protected void |
renderCenterAuthority(java.awt.Graphics2D graphics)
|
protected void |
renderChildren(java.awt.Graphics2D graphics)
|
protected void |
renderParents(java.awt.Graphics2D graphics)
|
Methods inherited from class org.apache.wicket.markup.html.image.resource.RenderedDynamicImageResource |
getHeight, getImageData, getType, getWidth, invalidate, render, setHeight, setType, setWidth |
Methods inherited from class org.apache.wicket.markup.html.image.resource.DynamicImageResource |
getFormat, getResourceState, setFormat, setLastModifiedTime, toImageData |
Methods inherited from class org.apache.wicket.markup.html.DynamicWebResource |
getLocale, getResourceStream, setHeaders |
Methods inherited from class org.apache.wicket.markup.html.WebResource |
configureResponse, getCacheDuration |
Methods inherited from class org.apache.wicket.Resource |
getParameters, isCacheable, onResourceRequested, setCacheable, setParameters |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IMAGE_WIDTH
protected static final int IMAGE_WIDTH
- See Also:
- Constant Field Values
IMAGE_HEIGHT
protected static final int IMAGE_HEIGHT
- See Also:
- Constant Field Values
IMAGE_PADDING_X
protected static final int IMAGE_PADDING_X
- See Also:
- Constant Field Values
IMAGE_PADDING_Y
protected static final int IMAGE_PADDING_Y
- See Also:
- Constant Field Values
LEFT
protected static final int LEFT
- See Also:
- Constant Field Values
TOP
protected static final int TOP
- See Also:
- Constant Field Values
RIGHT
protected static final int RIGHT
- See Also:
- Constant Field Values
BOTTOM
protected static final int BOTTOM
- See Also:
- Constant Field Values
WIDTH
protected static final int WIDTH
- See Also:
- Constant Field Values
HEIGHT
protected static final int HEIGHT
- See Also:
- Constant Field Values
CENTER_X
protected static final int CENTER_X
- See Also:
- Constant Field Values
CENTER_Y
protected static final int CENTER_Y
- See Also:
- Constant Field Values
CENTER_AUTHORITY_WIDTH
protected static final int CENTER_AUTHORITY_WIDTH
- See Also:
- Constant Field Values
CENTER_AUTHORITY_HEIGHT
protected static final int CENTER_AUTHORITY_HEIGHT
- See Also:
- Constant Field Values
AUTHORITY_WIDTH
protected static final int AUTHORITY_WIDTH
- See Also:
- Constant Field Values
AUTHORITY_HEIGHT
protected static final int AUTHORITY_HEIGHT
- See Also:
- Constant Field Values
CENTER_AUTHORITY_COLOR
protected static final java.awt.Color CENTER_AUTHORITY_COLOR
AUTHORITY_COLOR
protected static final java.awt.Color AUTHORITY_COLOR
LINE_COLOR
protected static final java.awt.Color LINE_COLOR
LINE_STROKE
protected static final java.awt.Stroke LINE_STROKE
TEXT_COLOR
protected static final java.awt.Color TEXT_COLOR
TEXT_FONT
protected static final java.awt.Font TEXT_FONT
subSegmentNames
protected java.lang.String[] subSegmentNames
childSubSegmentNames
protected java.lang.String[] childSubSegmentNames
AuthorityImageResource
public AuthorityImageResource(Authority authority)
throws StoreException
- Throws:
StoreException
render
protected boolean render(java.awt.Graphics2D graphics)
- Specified by:
render
in class org.apache.wicket.markup.html.image.resource.RenderedDynamicImageResource
renderParents
protected void renderParents(java.awt.Graphics2D graphics)
renderChildren
protected void renderChildren(java.awt.Graphics2D graphics)
renderCenterAuthority
protected void renderCenterAuthority(java.awt.Graphics2D graphics)
renderAuthority
protected void renderAuthority(java.awt.Graphics2D graphics,
int x,
int y,
java.lang.String name)
createImageMap
public org.apache.wicket.markup.html.link.ImageMap createImageMap(java.lang.String id)
Copyright © 2005-2012. All Rights Reserved.