sferyx.administration.renderers
Class CustomTableCelView

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.CustomTableCelView
All Implemented Interfaces:
javax.swing.SwingConstants, CSSLayoutViews

public class CustomTableCelView
extends CustomLayoutBoxView


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
CustomTableCelView(javax.swing.text.Element elem)
           
 
Method Summary
protected  javax.swing.SizeRequirements calculateMajorAxisRequirements(int axis, javax.swing.SizeRequirements r)
           
protected  javax.swing.SizeRequirements calculateMinorAxisRequirements(int axis, javax.swing.SizeRequirements r)
           
 javax.swing.text.AttributeSet getAttributes()
           
 short getBottomInset()
           
 short getLeftInset()
          Creates a new instance of CustomTableCelView
 float getMaximumSpan_(int axis)
           
 float getMaximumSpan(int axis)
           
 float getMinimumSpan_(int axis)
           
 float getMinimumSpan(int axis)
           
 float getPreferredSpan_(int axis)
           
 float getPreferredSpan(int axis)
           
 short getRightInset()
           
 short getTopInset()
           
 void layout(int width, int height)
           
protected  void layoutMajorAxis_old(int targetSpan, int axis, int[] offsets, int[] spans)
           
protected  void layoutMajorAxis(int targetSpan, int axis, int[] offsets, int[] spans)
           
 void paint(java.awt.Graphics g, java.awt.Shape allocation)
           
 
Methods inherited from class sferyx.administration.renderers.CustomLayoutBoxView
adjustAllParagraphsLayout, adjustParagraphLayout, changedUpdate, childAllocation, forwardUpdate, getAbsoluteX_, getAbsoluteX, getAbsoluteY_, getAbsoluteY, getAlignment, getBottomMargin, getBottomPadding, getChildAllocation, getFloatingChildrenSpan, getHeightCSSValue_, getHeightCSSValue, getInsideAllocation, getLeftMargin, getLeftPadding, getLeftRightBorderInset, getMaxWidthCSSValue, getMinWidthCSSValue, getMyIndex, getMyOffset, getNextVisualPositionFrom, getOffset, getResizeWeight, getRightMargin, getRightPadding, getSpan, getStyleSheet, getSuperPreferredSpan, getTopBottomBorderInset, getTopMargin, getTopPadding, getView, getViewAtPoint, getViewAtPointNormal, getWidth, getWidthCSSValue_, getWidthCSSValue, insertUpdate, isAbsolutePositioning, isRelativePositioning, isVisible, layoutChanged, 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

CustomTableCelView

public CustomTableCelView(javax.swing.text.Element elem)
Method Detail

getLeftInset

public short getLeftInset()
Creates a new instance of CustomTableCelView

Overrides:
getLeftInset in class CustomLayoutBoxView

getRightInset

public short getRightInset()
Overrides:
getRightInset in class CustomLayoutBoxView

getTopInset

public short getTopInset()
Overrides:
getTopInset in class CustomLayoutBoxView

getBottomInset

public short getBottomInset()
Overrides:
getBottomInset in class CustomLayoutBoxView

layout

public void layout(int width,
                   int height)
Overrides:
layout in class CustomLayoutBoxView

getAttributes

public javax.swing.text.AttributeSet getAttributes()
Overrides:
getAttributes in class CustomLayoutBoxView

paint

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

layoutMajorAxis_old

protected void layoutMajorAxis_old(int targetSpan,
                                   int axis,
                                   int[] offsets,
                                   int[] spans)

layoutMajorAxis

protected void layoutMajorAxis(int targetSpan,
                               int axis,
                               int[] offsets,
                               int[] spans)
Overrides:
layoutMajorAxis in class CustomLayoutBoxView

calculateMajorAxisRequirements

protected javax.swing.SizeRequirements calculateMajorAxisRequirements(int axis,
                                                                      javax.swing.SizeRequirements r)
Overrides:
calculateMajorAxisRequirements in class CustomLayoutBoxView

getMaximumSpan

public float getMaximumSpan(int axis)
Overrides:
getMaximumSpan in class CustomLayoutBoxView

getMaximumSpan_

public float getMaximumSpan_(int axis)

getPreferredSpan

public float getPreferredSpan(int axis)
Overrides:
getPreferredSpan in class CustomLayoutBoxView

getPreferredSpan_

public float getPreferredSpan_(int axis)

getMinimumSpan

public float getMinimumSpan(int axis)
Overrides:
getMinimumSpan in class CustomLayoutBoxView

getMinimumSpan_

public float getMinimumSpan_(int axis)

calculateMinorAxisRequirements

protected javax.swing.SizeRequirements calculateMinorAxisRequirements(int axis,
                                                                      javax.swing.SizeRequirements r)
Overrides:
calculateMinorAxisRequirements in class CustomLayoutBoxView