Class LinealModel
- java.lang.Object
-
- org.pentaho.reporting.designer.core.model.lineal.LinealModel
-
- All Implemented Interfaces:
Serializable
public class LinealModel extends Object implements Serializable
The lineal model is a collection of immutable guideline objects. PRD-622: Move the undo stuff out of the data-model. It belongs into the GUI- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LinealModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addGuidLine(GuideLine guideLine)
void
addLinealModelListener(LinealModelListener linealModelListener)
String
externalize()
GuideLine
getGuideLine(int index)
int
getGuideLineCount()
GuideLine[]
getGuideLines()
long
getModificationCount()
void
parse(String model)
boolean
removeGuideLine(GuideLine guideLine)
void
removeLinealModelListener(LinealModelListener linealModelListener)
void
setGlobalState(boolean active)
void
updateGuideLine(int position, GuideLine guideLine)
-
-
-
Method Detail
-
getModificationCount
public long getModificationCount()
-
getGuideLines
public GuideLine[] getGuideLines()
-
removeGuideLine
public boolean removeGuideLine(GuideLine guideLine)
-
addGuidLine
public boolean addGuidLine(GuideLine guideLine)
-
updateGuideLine
public void updateGuideLine(int position, GuideLine guideLine)
-
getGuideLineCount
public int getGuideLineCount()
-
getGuideLine
public GuideLine getGuideLine(int index)
-
addLinealModelListener
public void addLinealModelListener(LinealModelListener linealModelListener)
-
removeLinealModelListener
public void removeLinealModelListener(LinealModelListener linealModelListener)
-
parse
public void parse(String model)
-
externalize
public String externalize()
-
setGlobalState
public void setGlobalState(boolean active)
-
-