com.actelion.research.gui.generic.GenericDialog Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openchemlib Show documentation
Show all versions of openchemlib Show documentation
Open Source Chemistry Library
package com.actelion.research.gui.generic;
import info.clearthought.layout.TableLayout;
public interface GenericDialog {
int PREFERRED = (int)TableLayout.PREFERRED;
int FILL = (int)TableLayout.FILL;
void setLayout(int[] hLayout, int[] vLayout);
void add(GenericComponent c, int x, int y);
void add(GenericComponent c, int x1, int y1, int x2, int y2);
GenericCheckBox createCheckBox(String text);
GenericComboBox createComboBox();
GenericLabel createLabel(String text);
GenericTextField createTextField(int width, int height);
void setEventConsumer(GenericEventListener consumer);
void showDialog(); // must wait until OK or Cancel is pressed
void disposeDialog();
void showMessage(String message);
}