de.soldin.gt2jump.cts
Class CSTransform
java.lang.Object
de.soldin.gt2jump.cts.CSTransform
- All Implemented Interfaces:
- CSSetListener, EventListener, ItemListener
- public class CSTransform
- extends Object
- implements ItemListener, CSSetListener
a CSSetListener
and ItemListener
implementation
which itself calls a CSTransformFilter
if a setting is about to happen.
the CSSetting
also works in batch mode. so if it contains more than
one CSSetting
, it loops until all of them are set to the new cs.
Constructor Summary |
CSTransform(Collection affected_cs_settings,
com.vividsolutions.jump.workbench.WorkbenchContext wbc)
|
CSTransform(CSSetting affected_cs_setting,
com.vividsolutions.jump.workbench.WorkbenchContext wbc)
|
affected_cs_settings
public Collection affected_cs_settings
CSTransform
public CSTransform(CSSetting affected_cs_setting,
com.vividsolutions.jump.workbench.WorkbenchContext wbc)
CSTransform
public CSTransform(Collection affected_cs_settings,
com.vividsolutions.jump.workbench.WorkbenchContext wbc)
getAffectedCSS
public Collection getAffectedCSS()
setAffectedCSS
public void setAffectedCSS(Collection collection)
setTransform
public void setTransform(boolean b)
itemStateChanged
public void itemStateChanged(ItemEvent e)
- Specified by:
itemStateChanged
in interface ItemListener
listenEventsFrom
public void listenEventsFrom(JPanel panel)
addTransformFilter
public void addTransformFilter(CSTransformFilter tr_li)
setTry
public boolean setTry(CSSetting in_css)
- Description copied from interface:
CSSetListener
- called when somebody tries to set to another cs
- Specified by:
setTry
in interface CSSetListener
- Parameters:
in_css
- the CSSetting
- Returns:
- if the trial was succesful
setDone
public void setDone(CSSetting css)
- Description copied from interface:
CSSetListener
- called when the setting process was successful
- Specified by:
setDone
in interface CSSetListener
- Parameters:
css
- the CSSetting
setFailed
public void setFailed(CSSetting css)
- Description copied from interface:
CSSetListener
- called when the setting process failed at some point
- Specified by:
setFailed
in interface CSSetListener
- Parameters:
css
- the CSSetting
localTransformation
public boolean localTransformation()
fireTransformation
public boolean fireTransformation()
toString
public String toString()