Class ColumnLayout


  • public class ColumnLayout
    extends java.lang.Object
    Mehrspalten-Layout.
    • Constructor Summary

      Constructors 
      Constructor Description
      ColumnLayout​(org.eclipse.swt.widgets.Composite parent, int columns)
      ct.
      ColumnLayout​(org.eclipse.swt.widgets.Composite parent, int columns, boolean fullSize)
      ct.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(Part part)
      Fuegt ein neues Child-Part hinzu.
      org.eclipse.swt.widgets.Composite getComposite()
      Liefert das Zweispalten-Composite.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ColumnLayout

        public ColumnLayout​(org.eclipse.swt.widgets.Composite parent,
                            int columns)
        ct. Erzeugt ein neues Layout.
        Parameters:
        parent - das Parent.
        columns - Anzahl der Spalten.
      • ColumnLayout

        public ColumnLayout​(org.eclipse.swt.widgets.Composite parent,
                            int columns,
                            boolean fullSize)
        ct. Erzeugt ein neues Layout.
        Parameters:
        parent - das Parent.
        columns - Anzahl der Spalten.
        fullSize - true, wenn es voelle Hoehe haben soll.
    • Method Detail

      • getComposite

        public org.eclipse.swt.widgets.Composite getComposite()
        Liefert das Zweispalten-Composite. Kann z.Bsp. verwendet werden, wenn LabelGroups zweispaltig platziert werden sollen.
        Returns:
        das Composite.
      • add

        public void add​(Part part)
                 throws java.rmi.RemoteException
        Fuegt ein neues Child-Part hinzu. Die Spalte, in der das Part platziert wird, kann nicht explizit angegeben werden. Stattdessen werden die Parts einfach entsprechend der Reihenfolge auf die Spalten verteilt. Bei 2 Spalten landet der dritte hinzugefuegte Part z.Bsp. in Spalte 1, Zeile 2.
        Parameters:
        part -
        Throws:
        java.rmi.RemoteException