fi.hut.tml.xsmiles.gui.components
Interface XCompound

All Known Subinterfaces:
XLabelCompound
All Known Implementing Classes:
HaviLabelCompound, SwingLabelCompound

public interface XCompound

The only addition is add and remove


Method Summary
 void add(XComponent c)
           
 java.awt.Component getComponent()
          Return the visual component for this extension element
 java.awt.Dimension getSize()
          Returns the size of this compound
 void remove(XComponent c)
           
 void removeAll()
          Remove all components from conatiner.
 void setVisible(boolean v)
          Set this drawing area visible.
 void setZoom(double zoom)
          set the zoom level (1.0 is the normal)
 

Method Detail

getComponent

public java.awt.Component getComponent()
Return the visual component for this extension element


getSize

public java.awt.Dimension getSize()
Returns the size of this compound


setVisible

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

Parameters:
v - true=visible, false=invisible

add

public void add(XComponent c)
Parameters:
c - The component to be added

remove

public void remove(XComponent c)
Parameters:
c - Remove component c

removeAll

public void removeAll()
Remove all components from conatiner.


setZoom

public void setZoom(double zoom)
set the zoom level (1.0 is the normal)



X-Smiles 1.2