Class HorizontalBoxImpl

All Implemented Interfaces:
Component, LabeledComponent, Box, HorizontalBox

@Deprecated public class HorizontalBoxImpl extends AbstractBox<HorizontalBox> implements HorizontalBox
Deprecated.
Horizontal box to layout components horicontally. Each child will be placed in a horizontal row.

Look at VerticalBoxImpl when you want to place components vertically.

See Also:
  • Constructor Details

    • HorizontalBoxImpl

      public HorizontalBoxImpl(Component parent)
      Deprecated.
      Parameters:
      parent - the parent component
  • Method Details

    • newInstanceForCopy

      protected HorizontalBox newInstanceForCopy(Component parent)
      Deprecated.
      Description copied from class: AbstractComponent
      Will be called when a copy is requested Component.createCopy()! Create a new instanc of this component, copy the properties and return it. You don't have to copy the properties which are inherited from the abstract implmentation. Only copy the properties from the concrete implementation.

      The parent has to be the parent given in the argument parent

      Specified by:
      newInstanceForCopy in class AbstractComponent<HorizontalBox>
      Parameters:
      parent - the parent to set
      Returns:
      new box instance
    • wrap

      Deprecated.
      Description copied from interface: Component
      Wraps the component with the given interceptor handler.

      Feel free to add an unwrap() method when needed.

      Specified by:
      wrap in interface Component