本文整理汇总了Java中com.cburch.logisim.tools.key.KeyConfigurationResult类的典型用法代码示例。如果您正苦于以下问题:Java KeyConfigurationResult类的具体用法?Java KeyConfigurationResult怎么用?Java KeyConfigurationResult使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
KeyConfigurationResult类属于com.cburch.logisim.tools.key包,在下文中一共展示了KeyConfigurationResult类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: create
import com.cburch.logisim.tools.key.KeyConfigurationResult; //导入依赖的package包/类
public static Action create(Tool tool, Attribute<?> attr, Object value) {
AttributeSet attrs = tool.getAttributeSet();
KeyConfigurationEvent e = new KeyConfigurationEvent(0, attrs, null,
null);
KeyConfigurationResult r = new KeyConfigurationResult(e, attr, value);
return new ToolAttributeAction(r);
}
示例2: create
import com.cburch.logisim.tools.key.KeyConfigurationResult; //导入依赖的package包/类
public static Action create(KeyConfigurationResult results) {
return new ToolAttributeAction(results);
}
示例3: ToolAttributeAction
import com.cburch.logisim.tools.key.KeyConfigurationResult; //导入依赖的package包/类
private ToolAttributeAction(KeyConfigurationResult config) {
this.config = config;
this.oldValues = new HashMap<Attribute<?>, Object>(2);
}
示例4: create
import com.cburch.logisim.tools.key.KeyConfigurationResult; //导入依赖的package包/类
public static Action create(Tool tool, Attribute<?> attr, Object value) {
AttributeSet attrs = tool.getAttributeSet();
KeyConfigurationEvent e = new KeyConfigurationEvent(0, attrs, null, null);
KeyConfigurationResult r = new KeyConfigurationResult(e, attr, value);
return new ToolAttributeAction(r);
}
示例5: ToolAttributeAction
import com.cburch.logisim.tools.key.KeyConfigurationResult; //导入依赖的package包/类
private ToolAttributeAction(KeyConfigurationResult config) {
this.config = config;
this.oldValues = new HashMap<Attribute<?>,Object>(2);
}