fi.hut.tml.xsmiles.mlfc.smil.viewer.smilmlfc
Class SMILMLFCDrawingArea

java.lang.Object
  extended byfi.hut.tml.xsmiles.mlfc.smil.viewer.swing.SwingDrawingArea
      extended byfi.hut.tml.xsmiles.mlfc.smil.viewer.smilmlfc.SMILMLFCDrawingArea
All Implemented Interfaces:
DrawingArea

public class SMILMLFCDrawingArea
extends SwingDrawingArea
implements DrawingArea

Drawing area for SMILMLFC. This is the container, which will hold media. This is a exact copy of the Swing version.


Field Summary
 
Fields inherited from class fi.hut.tml.xsmiles.mlfc.smil.viewer.swing.SwingDrawingArea
container, contentContainer
 
Fields inherited from interface fi.hut.tml.xsmiles.mlfc.smil.viewer.DrawingArea
REGION, REGIONSCROLL, ROOTLAYOUT, TOPLAYOUT
 
Constructor Summary
SMILMLFCDrawingArea(java.awt.Container c, boolean css)
          Creates a new drawing area using container c.
SMILMLFCDrawingArea(int type, boolean css, boolean block)
          Creates a new drawing area of type ROOTLAYOUT, TOPLAYOUT or REGION.
 
Method Summary
 void createCSSPanel(int type)
          Creates a new drawing area of type ROOTLAYOUT, TOPLAYOUT or REGION.
 boolean setCSSStretch(java.lang.String awidth, java.lang.String aheight, org.w3c.dom.Element origElem)
           
 
Methods inherited from class fi.hut.tml.xsmiles.mlfc.smil.viewer.swing.SwingDrawingArea
addFrameListener, addRegion, bringToFront, getContainer, getContentContainer, getHeight, getLeft, getTop, getWidth, setBackgroundColor, setBounds, setTitle, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fi.hut.tml.xsmiles.mlfc.smil.viewer.DrawingArea
addFrameListener, addRegion, bringToFront, getContentContainer, getHeight, getLeft, getTop, getWidth, setBackgroundColor, setBounds, setTitle, setVisible
 

Constructor Detail

SMILMLFCDrawingArea

public SMILMLFCDrawingArea(int type,
                           boolean css,
                           boolean block)
Creates a new drawing area of type ROOTLAYOUT, TOPLAYOUT or REGION.

Parameters:
type - type of the area
css - CSS layout=true, basic=false
block - CSS block type of container (true=JBlockPanel) or normal (false=JPanel)

SMILMLFCDrawingArea

public SMILMLFCDrawingArea(java.awt.Container c,
                           boolean css)
Creates a new drawing area using container c. Used for root-layout.

Parameters:
c - Container
css - CSS layout=true, basic=false
Method Detail

createCSSPanel

public void createCSSPanel(int type)
Creates a new drawing area of type ROOTLAYOUT, TOPLAYOUT or REGION. This will create a special JBlockPanel for CSS block container. The JBlockPanel is recognized by the SMILCSSFlowLayout.


setCSSStretch

public boolean setCSSStretch(java.lang.String awidth,
                             java.lang.String aheight,
                             org.w3c.dom.Element origElem)
Specified by:
setCSSStretch in interface DrawingArea
Overrides:
setCSSStretch in class SwingDrawingArea


X-Smiles 1.2