当前位置: 首页>>代码示例>>Java>>正文


Java IconSize类代码示例

本文整理汇总了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.");
}
 
开发者ID:transwarpio,项目名称:rapidminer,代码行数:10,代码来源:AddToSortingColumnsAction.java

示例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.");
}
 
开发者ID:transwarpio,项目名称:rapidminer,代码行数:9,代码来源:SortByColumnAction.java

示例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;
}
 
开发者ID:rapidminer,项目名称:rapidminer-5,代码行数:8,代码来源:LockTreeStructureAction.java

示例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;
}
 
开发者ID:rapidminer,项目名称:rapidminer-5,代码行数:9,代码来源:RenameOperatorAction.java

示例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;
}
 
开发者ID:transwarpio,项目名称:rapidminer,代码行数:7,代码来源:CollapseAllAction.java

示例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;
}
 
开发者ID:transwarpio,项目名称:rapidminer,代码行数:7,代码来源:ExpandAllAction.java

示例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;
}
 
开发者ID:transwarpio,项目名称:rapidminer,代码行数:7,代码来源:ZoomOutAction.java

示例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;
}
 
开发者ID:transwarpio,项目名称:rapidminer,代码行数:7,代码来源:ZoomInAction.java

示例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;
}
 
开发者ID:transwarpio,项目名称:rapidminer,代码行数:7,代码来源:PickingModeAction.java

示例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;
}
 
开发者ID:transwarpio,项目名称:rapidminer,代码行数:7,代码来源:TransformingModeAction.java

示例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));
}
 
开发者ID:transwarpio,项目名称:rapidminer,代码行数:7,代码来源:InputHandler.java

示例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));
}
 
开发者ID:transwarpio,项目名称:rapidminer,代码行数:7,代码来源:EqualColumnWidthsAction.java

示例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));
}
 
开发者ID:transwarpio,项目名称:rapidminer,代码行数:7,代码来源:FitColumnWidthAction.java

示例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));
}
 
开发者ID:transwarpio,项目名称:rapidminer,代码行数:7,代码来源:FitAllColumnWidthsAction.java

示例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));
}
 
开发者ID:transwarpio,项目名称:rapidminer,代码行数:7,代码来源:SelectColumnAction.java


注:本文中的com.rapidminer.gui.tools.IconSize类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。