Class AbstractStyleResolver.AbstractStyleResolverState
- java.lang.Object
-
- org.jfree.layouting.layouter.style.resolver.AbstractStyleResolver.AbstractStyleResolverState
-
- All Implemented Interfaces:
java.io.Serializable,State
- Enclosing class:
- AbstractStyleResolver
protected abstract static class AbstractStyleResolver.AbstractStyleResolverState extends java.lang.Object implements State
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractStyleResolverState()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract AbstractStyleResolvercreate()protected voidfill(AbstractStyleResolver resolver, LayoutProcess layoutProcess)LayoutStylegetInitialStyle()StyleKey[]getKeys()StatefullComponentrestore(LayoutProcess layoutProcess)Creates a restored instance of the saved component.voidsetInitialStyle(LayoutStyle initialStyle)voidsetKeys(StyleKey[] keys)
-
-
-
Method Detail
-
getInitialStyle
public LayoutStyle getInitialStyle()
-
setInitialStyle
public void setInitialStyle(LayoutStyle initialStyle)
-
create
protected abstract AbstractStyleResolver create()
-
restore
public StatefullComponent restore(LayoutProcess layoutProcess) throws StateException
Description copied from interface:StateCreates a restored instance of the saved component. By using this factory-like approach, we gain independence from having to know the actual implementation. This makes things a lot easier.- Specified by:
restorein interfaceState- Parameters:
layoutProcess- the layout process that controls it all- Returns:
- the saved state
- Throws:
StateException
-
fill
protected void fill(AbstractStyleResolver resolver, LayoutProcess layoutProcess)
-
getKeys
public StyleKey[] getKeys()
-
setKeys
public void setKeys(StyleKey[] keys)
-
-