org.openxri.admin.resources
Class SubSegmentImageResource

java.lang.Object
  extended by org.apache.wicket.Resource
      extended by org.apache.wicket.markup.html.WebResource
          extended by org.apache.wicket.markup.html.DynamicWebResource
              extended by org.apache.wicket.markup.html.image.resource.DynamicImageResource
                  extended by org.apache.wicket.markup.html.image.resource.RenderedDynamicImageResource
                      extended by org.openxri.admin.resources.SubSegmentImageResource
All Implemented Interfaces:
java.io.Serializable, org.apache.wicket.IClusterable, org.apache.wicket.IRequestListener, org.apache.wicket.IResourceListener

public class SubSegmentImageResource
extends org.apache.wicket.markup.html.image.resource.RenderedDynamicImageResource

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.wicket.markup.html.DynamicWebResource
org.apache.wicket.markup.html.DynamicWebResource.ResourceState
 
Field Summary
protected static java.awt.Color AUTHORITY_COLOR
           
protected static int AUTHORITY_HEIGHT
           
protected static int AUTHORITY_WIDTH
           
protected  boolean authorityNull
           
protected static int BOTTOM
           
protected static int CENTER_AUTHORITY_HEIGHT
           
protected static int CENTER_AUTHORITY_WIDTH
           
protected static int CENTER_X
           
protected static int CENTER_Y
           
protected static int HEIGHT
           
protected static int IMAGE_HEIGHT
           
protected static int IMAGE_PADDING_X
           
protected static int IMAGE_PADDING_Y
           
protected static int IMAGE_WIDTH
           
protected static int LEFT
           
protected static java.awt.Color LINE_COLOR
           
protected static java.awt.Stroke LINE_STROKE
           
protected  java.lang.String name
           
protected  boolean parentAuthorityNull
           
protected static int RIGHT
           
protected static java.awt.Color TEXT_COLOR
           
protected static java.awt.Font TEXT_FONT
           
protected static int TOP
           
protected static int WIDTH
           
 
Fields inherited from interface org.apache.wicket.IResourceListener
INTERFACE
 
Constructor Summary
SubSegmentImageResource(SubSegment subSegment)
           
 
Method Summary
 org.apache.wicket.markup.html.link.ImageMap createImageMap(java.lang.String id)
           
protected  boolean render(java.awt.Graphics2D graphics)
           
protected  void renderSubSegment(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
 

Field Detail

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

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

parentAuthorityNull

protected boolean parentAuthorityNull

name

protected java.lang.String name

authorityNull

protected boolean authorityNull
Constructor Detail

SubSegmentImageResource

public SubSegmentImageResource(SubSegment subSegment)
                        throws StoreException
Throws:
StoreException
Method Detail

render

protected boolean render(java.awt.Graphics2D graphics)
Specified by:
render in class org.apache.wicket.markup.html.image.resource.RenderedDynamicImageResource

renderSubSegment

protected void renderSubSegment(java.awt.Graphics2D graphics)

createImageMap

public org.apache.wicket.markup.html.link.ImageMap createImageMap(java.lang.String id)


Copyright © 2005-2012. All Rights Reserved.