sferyx.administration.renderers
Class CustomBlockInlineXMLTagView

java.lang.Object
  extended by javax.swing.text.View
      extended by javax.swing.text.GlyphView
          extended by javax.swing.text.LabelView
              extended by javax.swing.text.html.InlineView
                  extended by sferyx.administration.renderers.CustomBlockInlineXMLTagView
All Implemented Interfaces:
java.lang.Cloneable, javax.swing.SwingConstants, javax.swing.text.TabableView

public class CustomBlockInlineXMLTagView
extends javax.swing.text.html.InlineView

CustomXMLTagView, could be used to personalize the xml tags.


Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.text.GlyphView
javax.swing.text.GlyphView.GlyphPainter
 
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
CustomBlockInlineXMLTagView(javax.swing.text.Element elem, int axis)
           
 
Method Summary
protected  java.awt.Component createComponent()
           
 javax.swing.text.AttributeSet getAttributes()
           
protected  javax.swing.text.html.StyleSheet getStyleSheet()
           
 void paint(java.awt.Graphics g, java.awt.Shape allocation)
           
 
Methods inherited from class javax.swing.text.html.InlineView
breakView, changedUpdate, getBreakWeight, insertUpdate, removeUpdate, setPropertiesFromAttributes
 
Methods inherited from class javax.swing.text.LabelView
getBackground, getFont, getFontMetrics, getForeground, isStrikeThrough, isSubscript, isSuperscript, isUnderline, setBackground, setStrikeThrough, setSubscript, setSuperscript, setUnderline
 
Methods inherited from class javax.swing.text.GlyphView
checkPainter, clone, createFragment, getAlignment, getEndOffset, getGlyphPainter, getNextVisualPositionFrom, getPartialSpan, getPreferredSpan, getStartOffset, getTabbedSpan, getTabExpander, getText, modelToView, setGlyphPainter, viewToModel
 
Methods inherited from class javax.swing.text.View
append, forwardUpdate, forwardUpdateToView, getChildAllocation, getContainer, getDocument, getElement, getGraphics, getMaximumSpan, getMinimumSpan, getParent, getResizeWeight, getToolTipText, getView, getViewCount, getViewFactory, getViewIndex, getViewIndex, insert, isVisible, modelToView, modelToView, preferenceChanged, remove, removeAll, replace, setParent, setSize, updateChildren, updateLayout, viewToModel
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.text.TabableView
getPartialSpan, getTabbedSpan
 

Constructor Detail

CustomBlockInlineXMLTagView

public CustomBlockInlineXMLTagView(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 javax.swing.text.GlyphView

getStyleSheet

protected javax.swing.text.html.StyleSheet getStyleSheet()
Overrides:
getStyleSheet in class javax.swing.text.html.InlineView

getAttributes

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