Save This Page
Home » openjdk-7 » javax » swing » text » html » [javadoc | source]
javax.swing.text.html
class: ImageView.ImageLabelView [javadoc | source]
java.lang.Object
   javax.swing.text.View
      javax.swing.text.GlyphView
         javax.swing.text.LabelView
            javax.swing.text.html.InlineView
               javax.swing.text.html.ImageView$ImageLabelView

All Implemented Interfaces:
    TabableView, Cloneable, SwingConstants

ImageLabelView is used if the image can't be loaded, and the attribute specified an alt attribute. It overriden a handle of methods as the text is hardcoded and does not come from the document.
Fields inherited from javax.swing.text.GlyphView:
offset,  length,  impliedCR,  skipWidth,  expander,  x,  painter,  defaultPainter
Fields inherited from javax.swing.text.View:
BadBreakWeight,  GoodBreakWeight,  ExcellentBreakWeight,  ForcedBreakWeight,  X_AXIS,  Y_AXIS,  sharedBiasReturn
Constructor:
 ImageLabelView(Element e,
    String text) 
Method from javax.swing.text.html.ImageView$ImageLabelView Summary:
breakView,   getEndOffset,   getForeground,   getStartOffset,   getText,   paint,   reset
Methods from javax.swing.text.html.InlineView:
breakView,   changedUpdate,   getAttributes,   getBreakWeight,   getStyleSheet,   insertUpdate,   removeUpdate,   setPropertiesFromAttributes
Methods from javax.swing.text.LabelView:
changedUpdate,   getBackground,   getFont,   getFontMetrics,   getForeground,   isStrikeThrough,   isSubscript,   isSuperscript,   isUnderline,   setBackground,   setPropertiesFromAttributes,   setStrikeThrough,   setSubscript,   setSuperscript,   setUnderline,   sync
Methods from javax.swing.text.GlyphView:
breakView,   changedUpdate,   checkPainter,   clone,   createFragment,   getAlignment,   getBackground,   getBreakWeight,   getEndOffset,   getFont,   getForeground,   getGlyphPainter,   getJustificationInfo,   getMinimumSpan,   getNextVisualPositionFrom,   getPartialSpan,   getPreferredSpan,   getStartOffset,   getTabExpander,   getTabbedSpan,   getText,   insertUpdate,   isStrikeThrough,   isSubscript,   isSuperscript,   isUnderline,   modelToView,   paint,   paintTextUsingColor,   removeUpdate,   setGlyphPainter,   viewToModel
Methods from javax.swing.text.View:
append,   breakView,   changedUpdate,   createFragment,   forwardUpdate,   forwardUpdateToView,   getAlignment,   getAttributes,   getBreakWeight,   getChildAllocation,   getContainer,   getDocument,   getElement,   getEndOffset,   getGraphics,   getMaximumSpan,   getMinimumSpan,   getNextVisualPositionFrom,   getParent,   getPreferredSpan,   getResizeWeight,   getStartOffset,   getToolTipText,   getView,   getViewCount,   getViewFactory,   getViewIndex,   getViewIndex,   insert,   insertUpdate,   isVisible,   modelToView,   modelToView,   modelToView,   paint,   preferenceChanged,   remove,   removeAll,   removeUpdate,   replace,   setParent,   setSize,   updateChildren,   updateLayout,   viewToModel,   viewToModel
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.text.html.ImageView$ImageLabelView Detail:
 public View breakView(int axis,
    int p0,
    float pos,
    float len) 
 public int getEndOffset() 
 public Color getForeground() 
 public int getStartOffset() 
 public Segment getText(int p0,
    int p1) 
 public  void paint(Graphics g,
    Shape a) 
 public  void reset(String text)