fi.hut.tml.xsmiles.mlfc.smil.viewer.smilmlfc
Class SMILMLFCDrawingArea
java.lang.Object
fi.hut.tml.xsmiles.mlfc.smil.viewer.swing.SwingDrawingArea
fi.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.
|
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 |
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 areacss - CSS layout=true, basic=falseblock - 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 - Containercss - CSS layout=true, basic=false
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