fi.hut.tml.xsmiles.csslayout.view
Class ImageView

java.lang.Object
  extended byfi.hut.tml.xsmiles.csslayout.view.BaseView
      extended byfi.hut.tml.xsmiles.csslayout.view.ImageView
All Implemented Interfaces:
View

public class ImageView
extends BaseView

Author:
mpohja

Nested Class Summary
 
Nested classes inherited from class fi.hut.tml.xsmiles.csslayout.view.BaseView
BaseView.ViewDimensions
 
Field Summary
 
Fields inherited from class fi.hut.tml.xsmiles.csslayout.view.BaseView
absoluteChildViews, absolutePosition, backImage, bgColor, border, childViews, closeFloat, dimensions, domElement, floatLeft, floatRight, hasRelativeHeight, hasRelativeWidth, parent, posX, posY, relativeChildViews, relativePosition, renderer, sizeRequirements, style, visible, zoom
 
Fields inherited from interface fi.hut.tml.xsmiles.csslayout.view.View
X_AXIS, Y_AXIS
 
Constructor Summary
ImageView(CSSRenderer renderer, org.w3c.dom.Node node, View parent, java.lang.String location)
          Creates a new instance of ImageView
 
Method Summary
 void paint(java.awt.Graphics g)
          paints this view
 void setSizeRequirements()
           
 
Methods inherited from class fi.hut.tml.xsmiles.csslayout.view.BaseView
addAbsoluteChildView, addChildView, addRelativeChildView, addView, calculateIntersection, createChildView, createChildViews, createComponentView, createView, doLayout, dump, findContainingBlock, getAbsolutePositionX, getAbsolutePositionY, getChildren, getChildView, getCSSRenderer, getDimensions, getDOMElement, getFirstChild, getMaximumSpan, getMinimumSpan, getParentView, getPreferredSpan, getRectangle, getSizeRequirements, getStyle, getText, getViewAtPoint, getViewHeight, getViewWidth, handleRelativeView, hasAbsoluteChildren, hasAbsolutePosition, hasRelativePosition, insertBefore, isInTable, isLeftFloated, isRightFloated, moveChildViews, moveView, notifyViewRemovedRecursively, paintBackground, paintBorder, removeChild, removeChildren, removeFromTree, repaint, repaintDocument, repaintDocument, repaintView, setAbsoluteCoordinates, setAbsolutePosition, setContentHeight, setContentWidth, setMaxContentSize, setParentView, setRelativePosition, setStyle, setViewHeight, setViewWidth, testValue, viewRemoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageView

public ImageView(CSSRenderer renderer,
                 org.w3c.dom.Node node,
                 View parent,
                 java.lang.String location)
Creates a new instance of ImageView

Method Detail

paint

public void paint(java.awt.Graphics g)
Description copied from class: BaseView
paints this view

Specified by:
paint in interface View
Overrides:
paint in class BaseView

setSizeRequirements

public void setSizeRequirements()
Specified by:
setSizeRequirements in interface View
Overrides:
setSizeRequirements in class BaseView


X-Smiles 1.2