Package net.sourceforge.jeuclid.context
Class LayoutContextImpl
java.lang.Object
net.sourceforge.jeuclid.context.LayoutContextImpl
- All Implemented Interfaces:
Serializable,LayoutContext,MutableLayoutContext
- Version:
- $Revision: 896e3a9ebb36 $
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor.LayoutContextImpl(LayoutContext copyFromContext) Default Constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic LayoutContextRetrieve the default layout context.getParameter(Parameter which) Retrieve a layout parameter.setParameter(Parameter which, Object newValue) Set a layout Parameter.
-
Constructor Details
-
LayoutContextImpl
protected LayoutContextImpl()Default constructor. -
LayoutContextImpl
Default Constructor.- Parameters:
copyFromContext- LayoutContext to use for initialization of values
-
-
Method Details
-
getDefaultLayoutContext
Retrieve the default layout context.- Returns:
- the default layout context.
-
setParameter
Set a layout Parameter.- Specified by:
setParameterin interfaceMutableLayoutContext- Parameters:
which- the parameter to setnewValue- the new Value for this parameter.- Returns:
- itself for convenience.
-
getParameter
Retrieve a layout parameter.- Specified by:
getParameterin interfaceLayoutContext- Parameters:
which- the parameter to retrieve- Returns:
- current value for this parameter. Please note: Some parameters may be null.
-