public abstract class View2DLooper extends LooperBase
| Modifier and Type | Field and Description |
|---|---|
boolean |
singleOp
Output flag indicating that only a single parameter was specified in the name filter
|
currentName, debugKey, isNameEntryPattern, isNamePattern, nameList, namePattern| Constructor and Description |
|---|
View2DLooper() |
| Modifier and Type | Method and Description |
|---|---|
CallModel2D |
getDrawing() |
int |
getSheetno() |
void |
loop()
Loop through views in a drawing
|
abstract boolean |
loopAction(CallView2D view)
Abstract function which is called for each drawing view which matches the filters.
|
protected void |
processObjectByName(java.lang.String name)
Abstract function which is called for each object whose name matches the filters.
|
void |
setDrawing(CallModel2D drawing) |
void |
setSheetno(int sheetno) |
checkName, checkName, checkNameAgainstList, checkNameAgainstList, getDebugKey, getIsNamePattern, getNameList, getNamePattern, setDebugKey, setIsNamePattern, setNameList, setNameList, setNamePatternpublic boolean singleOp
public void loop()
throws JLIException,
com.ptc.cipjava.jxthrowable
JLIExceptioncom.ptc.cipjava.jxthrowablepublic abstract boolean loopAction(CallView2D view) throws JLIException, com.ptc.cipjava.jxthrowable
view - The drawing view that matches the filtersJLIExceptioncom.ptc.cipjava.jxthrowableprotected void processObjectByName(java.lang.String name)
throws JLIException,
com.ptc.cipjava.jxthrowable
LooperBaseprocessObjectByName in class LooperBasename - The name of the object that matched the filtersJLIExceptioncom.ptc.cipjava.jxthrowablepublic CallModel2D getDrawing()
public void setDrawing(CallModel2D drawing)
drawing - The drawing that owns the viewspublic int getSheetno()
public void setSheetno(int sheetno)
sheetno - The sheet number filter