Class LayoutContextImpl

java.lang.Object
net.sourceforge.jeuclid.context.LayoutContextImpl
All Implemented Interfaces:
Serializable, LayoutContext, MutableLayoutContext

public class LayoutContextImpl extends Object implements MutableLayoutContext, Serializable
Version:
$Revision: 896e3a9ebb36 $
See Also:
  • Constructor Details

    • LayoutContextImpl

      protected LayoutContextImpl()
      Default constructor.
    • LayoutContextImpl

      public LayoutContextImpl(LayoutContext copyFromContext)
      Default Constructor.
      Parameters:
      copyFromContext - LayoutContext to use for initialization of values
  • Method Details

    • getDefaultLayoutContext

      public static LayoutContext getDefaultLayoutContext()
      Retrieve the default layout context.
      Returns:
      the default layout context.
    • setParameter

      public LayoutContext setParameter(Parameter which, Object newValue)
      Set a layout Parameter.
      Specified by:
      setParameter in interface MutableLayoutContext
      Parameters:
      which - the parameter to set
      newValue - the new Value for this parameter.
      Returns:
      itself for convenience.
    • getParameter

      public Object getParameter(Parameter which)
      Retrieve a layout parameter.
      Specified by:
      getParameter in interface LayoutContext
      Parameters:
      which - the parameter to retrieve
      Returns:
      current value for this parameter. Please note: Some parameters may be null.