Class ContentNormalizer.ContentNormalizerState
- java.lang.Object
-
- org.jfree.layouting.normalizer.content.ContentNormalizer.ContentNormalizerState
-
- All Implemented Interfaces:
java.io.Serializable,State
- Enclosing class:
- ContentNormalizer
protected static class ContentNormalizer.ContentNormalizerState extends java.lang.Object implements State
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedContentNormalizerState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LayoutElementgetCurrentElement()LayoutElementgetCurrentSilbling()StategetModelBuilderState()longgetNextId()StategetRecordingContentNormalizerState()StatefullComponentrestore(LayoutProcess layoutProcess)Creates a restored instance of the saved component.voidsetCurrentElement(LayoutElement currentElement)voidsetCurrentSilbling(LayoutElement currentSilbling)voidsetModelBuilderState(State modelBuilderState)voidsetNextId(long nextId)voidsetRecordingContentNormalizerState(State recordingContentNormalizerState)
-
-
-
Method Detail
-
getRecordingContentNormalizerState
public State getRecordingContentNormalizerState()
-
setRecordingContentNormalizerState
public void setRecordingContentNormalizerState(State recordingContentNormalizerState)
-
getModelBuilderState
public State getModelBuilderState()
-
setModelBuilderState
public void setModelBuilderState(State modelBuilderState)
-
getCurrentElement
public LayoutElement getCurrentElement()
-
setCurrentElement
public void setCurrentElement(LayoutElement currentElement)
-
getCurrentSilbling
public LayoutElement getCurrentSilbling()
-
setCurrentSilbling
public void setCurrentSilbling(LayoutElement currentSilbling)
-
getNextId
public long getNextId()
-
setNextId
public void setNextId(long nextId)
-
restore
public StatefullComponent restore(LayoutProcess layoutProcess) throws StateException
Creates 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
-
-