本文整理汇总了Java中com.rapidminer.gui.properties.ListPropertyDialog类的典型用法代码示例。如果您正苦于以下问题:Java ListPropertyDialog类的具体用法?Java ListPropertyDialog怎么用?Java ListPropertyDialog使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ListPropertyDialog类属于com.rapidminer.gui.properties包,在下文中一共展示了ListPropertyDialog类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setOperator
import com.rapidminer.gui.properties.ListPropertyDialog; //导入依赖的package包/类
@Override
public void setOperator(final Operator operator) {
button = new JButton(new ResourceAction(true, "list") {
private static final long serialVersionUID = 3546416469350908571L;
@Override
public void actionPerformed(ActionEvent e) {
ListPropertyDialog dialog = new ListPropertyDialog(type, valuesList, operator);
dialog.setVisible(true);
if (dialog.isOk()) {
fireEditingStopped();
setButtonText();
} else {
fireEditingCanceled();
}
}
});
button.setMargin(new Insets(0, 0, 0, 0));
// button.setToolTipText(type.getDescription());
setButtonText();
}
示例2: setOperator
import com.rapidminer.gui.properties.ListPropertyDialog; //导入依赖的package包/类
@Override
public void setOperator(final Operator operator) {
button = new JButton(new ResourceAction(true, "list") {
private static final long serialVersionUID = 3546416469350908571L;
@Override
public void loggedActionPerformed(ActionEvent e) {
ListPropertyDialog dialog = new ListPropertyDialog(type, valuesList, operator);
dialog.setVisible(true);
if (dialog.isOk()) {
fireEditingStopped();
setButtonText();
} else {
fireEditingCanceled();
}
}
});
button.setMargin(new Insets(0, 0, 0, 0));
// button.setToolTipText(type.getDescription());
setButtonText();
}
示例3: setOperator
import com.rapidminer.gui.properties.ListPropertyDialog; //导入依赖的package包/类
public void setOperator(final Operator operator) {
button = new JButton(new ResourceAction(true, "list") {
private static final long serialVersionUID = 3546416469350908571L;
@Override
public void actionPerformed(ActionEvent e) {
ListPropertyDialog dialog = new ListPropertyDialog(type, valuesList, operator);
dialog.setVisible(true);
if (dialog.isOk()) {
fireEditingStopped();
setButtonText();
} else {
fireEditingCanceled();
}
}
});
button.setMargin(new Insets(0, 0, 0, 0));
// button.setToolTipText(type.getDescription());
setButtonText();
}