本文整理汇总了Java中com.rapidminer.gui.tools.IconSize类的典型用法代码示例。如果您正苦于以下问题:Java IconSize类的具体用法?Java IconSize怎么用?Java IconSize使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
IconSize类属于com.rapidminer.gui.tools包,在下文中一共展示了IconSize类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: AddToSortingColumnsAction
import com.rapidminer.gui.tools.IconSize; //导入依赖的package包/类
public AddToSortingColumnsAction(ExtendedJTable table, int direction, IconSize size) {
super("Add to Sorting Columns (" + (direction == ExtendedJTableSorterModel.DESCENDING ? "Descending" : "Ascending")
+ ")", direction == ExtendedJTableSorterModel.DESCENDING ? DESCENDING_ICONS[size.ordinal()]
: ASCENDING_ICONS[size.ordinal()]);
this.table = table;
this.direction = direction;
putValue(SHORT_DESCRIPTION,
"Adds the selected column to the set of columns according to which this table is sorted.");
}
示例2: SortByColumnAction
import com.rapidminer.gui.tools.IconSize; //导入依赖的package包/类
public SortByColumnAction(ExtendedJTable table, int direction, IconSize size) {
super("Sort by Column (" + (direction == ExtendedJTableSorterModel.DESCENDING ? "Descending" : "Ascending") + ")",
direction == ExtendedJTableSorterModel.DESCENDING ? DESCENDING_ICONS[size.ordinal()] : ASCENDING_ICONS[size
.ordinal()]);
this.table = table;
this.direction = direction;
putValue(SHORT_DESCRIPTION, "Sorts the table according to this column.");
}
示例3: LockTreeStructureAction
import com.rapidminer.gui.tools.IconSize; //导入依赖的package包/类
public LockTreeStructureAction(OperatorTree operatorTree, IconSize size) {
super("Lock Tree Structure", UNLOCKED_ICONS[size.ordinal()]);
putValue(SHORT_DESCRIPTION, "Locks or unlocks the tree structure for drag and drop.");
putValue(MNEMONIC_KEY, Integer.valueOf(KeyEvent.VK_S));
this.operatorTree = operatorTree;
this.iconSize = size;
}
示例4: RenameOperatorAction
import com.rapidminer.gui.tools.IconSize; //导入依赖的package包/类
public RenameOperatorAction(OperatorTree operatorTree, IconSize size) {
super("Rename", ICONS[size.ordinal()]);
putValue(SHORT_DESCRIPTION, "Rename the selected operator");
putValue(MNEMONIC_KEY, Integer.valueOf(KeyEvent.VK_R));
putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_F2, 0));
setCondition(OPERATOR_SELECTED, MANDATORY);
this.operatorTree = operatorTree;
}
示例5: CollapseAllAction
import com.rapidminer.gui.tools.IconSize; //导入依赖的package包/类
public CollapseAllAction(OperatorTree operatorTree, IconSize size) {
super("Collapse Tree", ICONS[size.ordinal()]);
putValue(SHORT_DESCRIPTION, "Collapses the complete operator tree");
putValue(MNEMONIC_KEY, Integer.valueOf(KeyEvent.VK_L));
this.operatorTree = operatorTree;
}
示例6: ExpandAllAction
import com.rapidminer.gui.tools.IconSize; //导入依赖的package包/类
public ExpandAllAction(OperatorTree operatorTree, IconSize size) {
super("Expand Tree", ICONS[size.ordinal()]);
putValue(SHORT_DESCRIPTION, "Expands the complete operator tree");
putValue(MNEMONIC_KEY, Integer.valueOf(KeyEvent.VK_X));
this.operatorTree = operatorTree;
}
示例7: ZoomOutAction
import com.rapidminer.gui.tools.IconSize; //导入依赖的package包/类
public ZoomOutAction(GraphViewer graphViewer, IconSize size) {
super("Zoom Out", ICONS[size.ordinal()]);
putValue(SHORT_DESCRIPTION, "Zooms out the graph view.");
putValue(MNEMONIC_KEY, Integer.valueOf(KeyEvent.VK_O));
this.graphViewer = graphViewer;
}
示例8: ZoomInAction
import com.rapidminer.gui.tools.IconSize; //导入依赖的package包/类
public ZoomInAction(GraphViewer graphViewer, IconSize size) {
super("Zoom In", ICONS[size.ordinal()]);
putValue(SHORT_DESCRIPTION, "Zooms into the graph view.");
putValue(MNEMONIC_KEY, Integer.valueOf(KeyEvent.VK_I));
this.graphViewer = graphViewer;
}
示例9: PickingModeAction
import com.rapidminer.gui.tools.IconSize; //导入依赖的package包/类
public PickingModeAction(GraphViewer<V, E> graphViewer, IconSize size) {
super("Pick", ICONS[size.ordinal()]);
putValue(SHORT_DESCRIPTION, "Changes into picking mode.");
putValue(MNEMONIC_KEY, Integer.valueOf(KeyEvent.VK_P));
this.graphViewer = graphViewer;
}
示例10: TransformingModeAction
import com.rapidminer.gui.tools.IconSize; //导入依赖的package包/类
public TransformingModeAction(GraphViewer<V, E> graphViewer, IconSize size) {
super("Transform", ICONS[size.ordinal()]);
putValue(SHORT_DESCRIPTION, "Changes into transforming mode.");
putValue(MNEMONIC_KEY, Integer.valueOf(KeyEvent.VK_T));
this.graphViewer = graphViewer;
}
示例11: SearchAction
import com.rapidminer.gui.tools.IconSize; //导入依赖的package包/类
private SearchAction(IconSize size) {
super("Search and Replace...");
putValue(SHORT_DESCRIPTION, "Searches and replaces text occurances.");
putValue(MNEMONIC_KEY, Integer.valueOf(KeyEvent.VK_F));
putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_F, InputEvent.CTRL_MASK));
}
示例12: EqualColumnWidthsAction
import com.rapidminer.gui.tools.IconSize; //导入依赖的package包/类
public EqualColumnWidthsAction(ExtendedJTable table, IconSize size) {
super("Equal Column Widths", ICONS[size.ordinal()]);
this.table = table;
putValue(SHORT_DESCRIPTION, "Sets the width of all column to the same value.");
putValue(MNEMONIC_KEY, Integer.valueOf(KeyEvent.VK_E));
}
示例13: FitColumnWidthAction
import com.rapidminer.gui.tools.IconSize; //导入依赖的package包/类
public FitColumnWidthAction(ExtendedJTable table, IconSize size) {
super("Fit Column Width", ICONS[size.ordinal()]);
this.table = table;
putValue(SHORT_DESCRIPTION, "Adapt the width of the column to the content");
putValue(MNEMONIC_KEY, Integer.valueOf(KeyEvent.VK_W));
}
示例14: FitAllColumnWidthsAction
import com.rapidminer.gui.tools.IconSize; //导入依赖的package包/类
public FitAllColumnWidthsAction(ExtendedJTable table, IconSize size) {
super("Fit all Column Widths", ICONS[size.ordinal()]);
this.table = table;
putValue(SHORT_DESCRIPTION, "Adapt the widths of all columns to the content");
putValue(MNEMONIC_KEY, Integer.valueOf(KeyEvent.VK_A));
}
示例15: SelectColumnAction
import com.rapidminer.gui.tools.IconSize; //导入依赖的package包/类
public SelectColumnAction(ExtendedJTable table, IconSize size) {
super("Select Column", ICONS[size.ordinal()]);
this.table = table;
putValue(SHORT_DESCRIPTION, "Select the complete column");
putValue(MNEMONIC_KEY, Integer.valueOf(KeyEvent.VK_C));
}