net.sourceforge.jeuclid.context
Class StyleAttributeLayoutContext

java.lang.Object
  extended by net.sourceforge.jeuclid.context.StyleAttributeLayoutContext
All Implemented Interfaces:
LayoutContext

public class StyleAttributeLayoutContext
extends Object
implements LayoutContext

Version:
$Revision: 8afef6dd0d58 $

Constructor Summary
StyleAttributeLayoutContext(LayoutContext parent, String msize, Color foreground)
          Default Constructor.
 
Method Summary
 Object getParameter(Parameter which)
          Retrieve a layout parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyleAttributeLayoutContext

public StyleAttributeLayoutContext(LayoutContext parent,
                                   String msize,
                                   Color foreground)
Default Constructor.

Parameters:
parent - LayoutContext of parent.
msize - msize String to apply to parent context.
foreground - Foreground color for new context.
Method Detail

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.


Copyright © 2002-2010 The JEuclid project. All Rights Reserved.