Class DefaultMultipleCDockable

All Implemented Interfaces:
CDockable, MultipleCDockable

@ClientOnly public class DefaultMultipleCDockable extends DefaultCDockable implements MultipleCDockable
A MultipleCDockable that contains a content-pane where the client might add or remove as many Components as it wishes.
Author:
Benjamin Sigg
See Also:
  • Constructor Details

    • DefaultMultipleCDockable

      public DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory, CAction... actions)
      Creates a new dockable
      Parameters:
      factory - the factory which created or could create this kind of dockable. A value of null will default ot the NullMultipleCDockableFactory.
      actions - the actions shown in the title, can be null. A separator is inserted for every entry that is null of this array.
    • DefaultMultipleCDockable

      public DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory, Component content, CAction... actions)
      Creates a new dockable.
      Parameters:
      factory - the factory which created or could create this kind of dockable. A value of null will default ot the NullMultipleCDockableFactory.
      content - a Component which will be shown in the middle of this dockable, can be null.
      actions - the actions shown in the title, can be null. A separator is inserted for every entry that is null of this array.
    • DefaultMultipleCDockable

      public DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory, String title, Component content, CAction... actions)
      Creates a new dockable.
      Parameters:
      factory - the factory which created or could create this kind of dockable. A value of null will default ot the NullMultipleCDockableFactory.
      title - the text shown in the title, can be null
      content - a Component which will be shown in the middle of this dockable, can be null.
      actions - the actions shown in the title, can be null. A separator is inserted for every entry that is null of this array.
    • DefaultMultipleCDockable

      public DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory, Icon icon, Component content, CAction... actions)
      Creates a new dockable.
      Parameters:
      factory - the factory which created or could create this kind of dockable. A value of null will default ot the NullMultipleCDockableFactory.
      icon - the icon shown in the title, can be null
      content - a Component which will be shown in the middle of this dockable, can be null.
      actions - the actions shown in the title, can be null. A separator is inserted for every entry that is null of this array.
    • DefaultMultipleCDockable

      public DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory, Icon icon, String title, Component content, CAction... actions)
      Creates a new dockable.
      Parameters:
      factory - the factory which created or could create this kind of dockable. A value of null will default ot the NullMultipleCDockableFactory.
      icon - the icon shown in the title, can be null
      title - the text shown in the title, can be null
      content - a Component which will be shown in the middle of this dockable, can be null.
      actions - the actions shown in the title, can be null. A separator is inserted for every entry that is null of this array.
    • DefaultMultipleCDockable

      public DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory, String title, CAction... actions)
      Creates a new dockable.
      Parameters:
      factory - the factory which created or could create this kind of dockable. A value of null will default ot the NullMultipleCDockableFactory.
      title - the text shown in the title, can be null
      actions - the actions shown in the title, can be null. A separator is inserted for every entry that is null of this array.
    • DefaultMultipleCDockable

      public DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory, Icon icon, CAction... actions)
      Creates a new dockable.
      Parameters:
      factory - the factory which created or could create this kind of dockable. A value of null will default ot the NullMultipleCDockableFactory.
      icon - the icon shown in the title, can be null
      actions - the actions shown in the title, can be null. A separator is inserted for every entry that is null of this array.
    • DefaultMultipleCDockable

      public DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory, Icon icon, String title, CAction... actions)
      Creates a new dockable.
      Parameters:
      factory - the factory which created or could create this kind of dockable. A value of null will default ot the NullMultipleCDockableFactory.
      icon - the icon shown in the title, can be null
      title - the text shown in the title, can be null
      actions - the actions shown in the title, can be null. A separator is inserted for every entry that is null of this array.
    • DefaultMultipleCDockable

      public DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory, Icon icon, String title, Component content, DefaultCDockable.Permissions permissions, CAction... actions)
      Creates a new dockable.
      Parameters:
      factory - the factory which created or could create this kind of dockable. A value of null will default ot the NullMultipleCDockableFactory.
      icon - the icon shown in the title, can be null
      title - the text shown in the title, can be null
      content - a Component which will be shown in the middle of this dockable, can be null.
      permissions - what actions the user is allowed to do, null will be replaced by DefaultCDockable.Permissions.DEFAULT.
      actions - the actions shown in the title, can be null. A separator is inserted for every entry that is null of this array.
    • DefaultMultipleCDockable

      public DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory, Icon icon, IconHandling iconHandling, String title, Component content, DefaultCDockable.Permissions permissions, CAction... actions)
      Creates a new dockable.
      Parameters:
      factory - the factory which created or could create this kind of dockable. A value of null will default ot the NullMultipleCDockableFactory.
      icon - the icon shown in the title, can be null
      iconHandling - what to do if icon is null
      title - the text shown in the title, can be null
      content - a Component which will be shown in the middle of this dockable, can be null.
      permissions - what actions the user is allowed to do, null will be replaced by DefaultCDockable.Permissions.DEFAULT.
      actions - the actions shown in the title, can be null. A separator is inserted for every entry that is null of this array.
  • Method Details