sferyx.administration.renderers
Class CustomBlockXMLTagView

java.lang.Object
  extended by javax.swing.text.View
      extended by javax.swing.text.CompositeView
          extended by javax.swing.text.BoxView
              extended by javax.swing.text.html.BlockView
                  extended by sferyx.administration.renderers.CustomLayoutBoxView
                      extended by sferyx.administration.renderers.CustomBlockXMLTagView
All Implemented Interfaces:
javax.swing.SwingConstants, CSSLayoutViews

public class CustomBlockXMLTagView
extends CustomLayoutBoxView

CustomXMLTagView, could be used to personalize the xml tags.


Field Summary
 
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
CustomBlockXMLTagView(javax.swing.text.Element elem, int axis)
           
 
Method Summary
protected  java.awt.Component createComponent()
           
 void paint(java.awt.Graphics g, java.awt.Shape allocation)
           
 
Methods inherited from class sferyx.administration.renderers.CustomLayoutBoxView
adjustAllParagraphsLayout, adjustParagraphLayout, calculateMajorAxisRequirements, calculateMinorAxisRequirements, changedUpdate, childAllocation, forwardUpdate, getAbsoluteX_, getAbsoluteX, getAbsoluteY_, getAbsoluteY, getAlignment, getAttributes, getBottomInset, getBottomMargin, getBottomPadding, getChildAllocation, getFloatingChildrenSpan, getHeightCSSValue_, getHeightCSSValue, getInsideAllocation, getLeftInset, getLeftMargin, getLeftPadding, getLeftRightBorderInset, getMaximumSpan, getMaxWidthCSSValue, getMinimumSpan, getMinWidthCSSValue, getMyIndex, getMyOffset, getNextVisualPositionFrom, getOffset, getPreferredSpan, getResizeWeight, getRightInset, getRightMargin, getRightPadding, getSpan, getStyleSheet, getSuperPreferredSpan, getTopBottomBorderInset, getTopInset, getTopMargin, getTopPadding, getView, getViewAtPoint, getViewAtPointNormal, getWidth, getWidthCSSValue_, getWidthCSSValue, insertUpdate, isAbsolutePositioning, isRelativePositioning, isVisible, layout, layoutChanged, layoutMajorAxis, layoutMinorAxis, layoutSuperMajorAxis, loadChildren_, loadChildren, modelToView, paintThisViewOnly, removeUpdate, replace_, setInsets, setParent, setPropertiesFromAttributes, setSize, updateLayout, viewToModel
 
Methods inherited from class javax.swing.text.BoxView
baselineLayout, baselineRequirements, flipEastAndWestAtEnds, getAxis, getHeight, isAfter, isAllocationValid, isBefore, isLayoutValid, paintChild, preferenceChanged, replace, setAxis
 
Methods inherited from class javax.swing.text.CompositeView
getNextEastWestVisualPositionFrom, getNextNorthSouthVisualPositionFrom, getViewAtPosition, getViewCount, getViewIndex, getViewIndexAtPosition, modelToView, setParagraphInsets
 
Methods inherited from class javax.swing.text.View
append, breakView, createFragment, forwardUpdateToView, getBreakWeight, getContainer, getDocument, getElement, getEndOffset, getGraphics, getParent, getStartOffset, getToolTipText, getViewFactory, getViewIndex, insert, modelToView, remove, removeAll, updateChildren, viewToModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomBlockXMLTagView

public CustomBlockXMLTagView(javax.swing.text.Element elem,
                             int axis)
Method Detail

createComponent

protected java.awt.Component createComponent()

paint

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