sferyx.administration.renderers
Class CustomObjectView

java.lang.Object
  extended by javax.swing.text.View
      extended by sferyx.administration.renderers.CustomImageView
          extended by sferyx.administration.renderers.CustomObjectView
All Implemented Interfaces:
javax.swing.SwingConstants, CSSLayoutViews

public class CustomObjectView
extends CustomImageView

Provides basic editing & visualization functionalities for object tags


Field Summary
 
Fields inherited from class sferyx.administration.renderers.CustomImageView
fBounds, height, image, IMAGE_CACHE_PROPERTY, imageCache, width
 
Fields inherited from class javax.swing.text.View
BadBreakWeight, ExcellentBreakWeight, ForcedBreakWeight, GoodBreakWeight, X_AXIS, Y_AXIS
 
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
 
Constructor Summary
CustomObjectView(javax.swing.text.Element elem)
          Creates a new instance of CustomObjectView
 
Method Summary
 java.lang.String getClassID()
           
 java.net.URL getEditorImageURL()
           
 java.awt.Image getImage()
          Returns the image to render.
 javax.swing.Icon getNoImageIcon()
          Returns the icon to use if the image couldn't be found.
 void paint(java.awt.Graphics g, java.awt.Shape a)
           
protected  void setPropertiesFromAttributes()
          Update any cached values that come from attributes.
 
Methods inherited from class sferyx.administration.renderers.CustomImageView
changedUpdate, containsImageMap, finalize, getAbsoluteX, getAbsoluteY, getAlignment, getAltText, getAttributes, getBottomMargin, getBottomPadding, getBreakWeight, getHeightCSSValue, getHTMLEditor, getImageMap, getImageURL, getLeftMargin, getLeftPadding, getLoadingImageIcon, getLoadsSynchronously, getMaxHeightCSSValue, getMaximumSpan_, getMaximumSpan, getMaximumSpanNew, getMaxWidthCSSValue, getMinimumSpan_, getMinimumSpan, getMinWidthCSSValue, getPreferredSpan_, getPreferredSpan, getResizeWeight, getRightMargin, getRightPadding, getStyleSheet, getToolTipText, getTopMargin, getTopPadding, getWidthCSSValue, isAbsolutePositioning, isFillSelected, isRelativePositioning, isSelected, loadImage, modelToView, setLoadsSynchronously, setParent, setSize, toBufferedImage, viewToModel
 
Methods inherited from class javax.swing.text.View
append, breakView, createFragment, forwardUpdate, forwardUpdateToView, getChildAllocation, getContainer, getDocument, getElement, getEndOffset, getGraphics, getNextVisualPositionFrom, getParent, getStartOffset, getView, getViewCount, getViewFactory, getViewIndex, getViewIndex, insert, insertUpdate, isVisible, modelToView, modelToView, preferenceChanged, remove, removeAll, removeUpdate, replace, updateChildren, updateLayout, viewToModel
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomObjectView

public CustomObjectView(javax.swing.text.Element elem)
Creates a new instance of CustomObjectView

Method Detail

getClassID

public java.lang.String getClassID()

getEditorImageURL

public java.net.URL getEditorImageURL()

getImage

public java.awt.Image getImage()
Description copied from class: CustomImageView
Returns the image to render.

Overrides:
getImage in class CustomImageView

getNoImageIcon

public javax.swing.Icon getNoImageIcon()
Description copied from class: CustomImageView
Returns the icon to use if the image couldn't be found.

Overrides:
getNoImageIcon in class CustomImageView

paint

public void paint(java.awt.Graphics g,
                  java.awt.Shape a)
Overrides:
paint in class CustomImageView

setPropertiesFromAttributes

protected void setPropertiesFromAttributes()
Description copied from class: CustomImageView
Update any cached values that come from attributes.

Overrides:
setPropertiesFromAttributes in class CustomImageView