fi.hut.tml.xsmiles.mlfc.smil.viewer
Interface DrawingArea

All Known Implementing Classes:
AwtDrawingArea, HaviDrawingArea, SMILMLFCDrawingArea, SwingDrawingArea

public interface DrawingArea

Interface to drawing area.


Field Summary
static int REGION
           
static int REGIONSCROLL
           
static int ROOTLAYOUT
           
static int TOPLAYOUT
           
 
Method Summary
 void addFrameListener(FrameListener frameListener)
          For toplayouts (frames), add a close listener.
 void addRegion(DrawingArea region, int z)
          Add a region to this drawing area.
 void bringToFront(DrawingArea drawingArea)
          Bring this region into front of other regions
 java.awt.Container getContentContainer()
           
 int getHeight()
           
 int getLeft()
           
 int getTop()
           
 int getWidth()
           
 void setBackgroundColor(java.lang.String color)
          Set the background color for this drawing area.
 void setBounds(int left, int top, int width, int height)
           
 boolean setCSSStretch(java.lang.String awidth, java.lang.String aheight, org.w3c.dom.Element origElem)
           
 void setTitle(java.lang.String name)
          Set the title of this area (used for top-layout)
 void setVisible(boolean v)
          Set this drawing area visible.
 

Field Detail

ROOTLAYOUT

public static final int ROOTLAYOUT
See Also:
Constant Field Values

TOPLAYOUT

public static final int TOPLAYOUT
See Also:
Constant Field Values

REGION

public static final int REGION
See Also:
Constant Field Values

REGIONSCROLL

public static final int REGIONSCROLL
See Also:
Constant Field Values
Method Detail

getLeft

public int getLeft()

getTop

public int getTop()

getWidth

public int getWidth()

getHeight

public int getHeight()

setBounds

public void setBounds(int left,
                      int top,
                      int width,
                      int height)

setVisible

public void setVisible(boolean v)
Set this drawing area visible.

Parameters:
v - true=visible, false=invisible

setTitle

public void setTitle(java.lang.String name)
Set the title of this area (used for top-layout)

Parameters:
name - Title name of the area

addRegion

public void addRegion(DrawingArea region,
                      int z)
Add a region to this drawing area. A region can be added to root-layout, topLayout, or another region.

Parameters:
region - Region drawing area to be added.

bringToFront

public void bringToFront(DrawingArea drawingArea)
Bring this region into front of other regions

Parameters:
drawingArea - Region to be the top most

setBackgroundColor

public void setBackgroundColor(java.lang.String color)
Set the background color for this drawing area.


addFrameListener

public void addFrameListener(FrameListener frameListener)
For toplayouts (frames), add a close listener.


getContentContainer

public java.awt.Container getContentContainer()

setCSSStretch

public boolean setCSSStretch(java.lang.String awidth,
                             java.lang.String aheight,
                             org.w3c.dom.Element origElem)


X-Smiles 1.2