public class AmbitSettingsListener extends Object implements org.openscience.cdk.io.listener.IReaderListener, org.openscience.cdk.io.listener.IWriterListener
IReaderListener
and IWriterListener
.
On each processIOSettingQuestion(IOSetting)
call launches a
SelectFieldsPanel
visualizing current list of properties
Property
.
The user may change the assignment of the properties.IChemObjectIOListener
in order to process properties Property
.Modifier and Type | Field and Description |
---|---|
protected int |
counter |
protected org.openscience.cdk.io.setting.IOSetting.Importance |
level |
protected Profile<Property> |
properties |
Constructor and Description |
---|
AmbitSettingsListener(org.openscience.cdk.io.setting.IOSetting.Importance level) |
Modifier and Type | Method and Description |
---|---|
void |
frameRead(org.openscience.cdk.io.ReaderEvent event) |
Profile<Property> |
getProperties() |
protected void |
launchUI() |
void |
processIOSettingQuestion(org.openscience.cdk.io.setting.IOSetting setting) |
void |
setProperties(Profile properties) |
protected org.openscience.cdk.io.setting.IOSetting.Importance level
protected int counter
public AmbitSettingsListener(org.openscience.cdk.io.setting.IOSetting.Importance level)
level
- public void processIOSettingQuestion(org.openscience.cdk.io.setting.IOSetting setting)
processIOSettingQuestion
in interface org.openscience.cdk.io.listener.IChemObjectIOListener
protected void launchUI()
public void frameRead(org.openscience.cdk.io.ReaderEvent event)
frameRead
in interface org.openscience.cdk.io.listener.IReaderListener
public void setProperties(Profile properties)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.