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


Java AbstractAttributeSet类代码示例

本文整理汇总了Java中com.cburch.logisim.data.AbstractAttributeSet的典型用法代码示例。如果您正苦于以下问题:Java AbstractAttributeSet类的具体用法?Java AbstractAttributeSet怎么用?Java AbstractAttributeSet使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


AbstractAttributeSet类属于com.cburch.logisim.data包,在下文中一共展示了AbstractAttributeSet类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: copyInto

import com.cburch.logisim.data.AbstractAttributeSet; //导入依赖的package包/类
@Override
protected void copyInto(AbstractAttributeSet destObj) {
	SplitterAttributes dest = (SplitterAttributes) destObj;
	dest.parameters = this.parameters;
	dest.attrs = new ArrayList<Attribute<?>>(this.attrs.size());
	dest.attrs.addAll(INIT_ATTRIBUTES);
	for (int i = INIT_ATTRIBUTES.size(), n = this.attrs.size(); i < n; i++) {
		BitOutAttribute attr = (BitOutAttribute) this.attrs.get(i);
		dest.attrs.add(attr.createCopy());
	}

	dest.facing = this.facing;
	dest.fanout = this.fanout;
	dest.appear = this.appear;
	dest.bit_end = this.bit_end.clone();
	dest.options = this.options;
}
 
开发者ID:LogisimIt,项目名称:Logisim,代码行数:18,代码来源:SplitterAttributes.java

示例2: copyInto

import com.cburch.logisim.data.AbstractAttributeSet; //导入依赖的package包/类
@Override
protected void copyInto(AbstractAttributeSet dest) {
	RomAttributes d = (RomAttributes) dest;
	d.addrBits = addrBits;
	d.dataBits = dataBits;
	d.contents = contents.clone();
	d.sel = sel;
}
 
开发者ID:LogisimIt,项目名称:Logisim,代码行数:9,代码来源:RomAttributes.java

示例3: copyInto

import com.cburch.logisim.data.AbstractAttributeSet; //导入依赖的package包/类
@Override
protected void copyInto(AbstractAttributeSet destObj) {
	ConstantAttributes dest = (ConstantAttributes) destObj;
	dest.facing = this.facing;
	dest.width = this.width;
	dest.value = this.value;
}
 
开发者ID:LogisimIt,项目名称:Logisim,代码行数:8,代码来源:Constant.java

示例4: copyInto

import com.cburch.logisim.data.AbstractAttributeSet; //导入依赖的package包/类
@Override
protected void copyInto(AbstractAttributeSet dest) {
	TclGenericAttributes attr = (TclGenericAttributes) dest;
	attr.vhdlEntitiy = vhdlEntitiy;

	super.copyInto(dest);
}
 
开发者ID:reds-heig,项目名称:logisim-evolution,代码行数:8,代码来源:TclGenericAttributes.java

示例5: copyInto

import com.cburch.logisim.data.AbstractAttributeSet; //导入依赖的package包/类
@Override
protected void copyInto(AbstractAttributeSet dest) {
	RomAttributes d = (RomAttributes) dest;
	d.addrBits = addrBits;
	d.dataBits = dataBits;
	d.contents = contents.clone();
}
 
开发者ID:reds-heig,项目名称:logisim-evolution,代码行数:8,代码来源:RomAttributes.java

示例6: copyInto

import com.cburch.logisim.data.AbstractAttributeSet; //导入依赖的package包/类
@Override
protected void copyInto(AbstractAttributeSet dest) {
	RamAttributes d = (RamAttributes) dest;
	d.addrBits = addrBits;
	d.dataBits = dataBits;
	d.Trigger = Trigger;
	d.BusStyle = BusStyle;
	d.LabelFont = LabelFont;
	d.ByteEnables = ByteEnables;
	d.contents = contents.clone();
	d.SupportsByteEnables = SupportsByteEnables;
}
 
开发者ID:reds-heig,项目名称:logisim-evolution,代码行数:13,代码来源:RamAttributes.java

示例7: copyInto

import com.cburch.logisim.data.AbstractAttributeSet; //导入依赖的package包/类
@Override
protected void copyInto(AbstractAttributeSet dest) {
	DrawingAttributeSet.this.addAttributeListener(this);
}
 
开发者ID:LogisimIt,项目名称:Logisim,代码行数:5,代码来源:DrawingAttributeSet.java

示例8: copyInto

import com.cburch.logisim.data.AbstractAttributeSet; //导入依赖的package包/类
@Override
protected void copyInto(AbstractAttributeSet dest) {
	listener = new Listener();
	selection.addSelectionListener(listener);
}
 
开发者ID:LogisimIt,项目名称:Logisim,代码行数:6,代码来源:SelectionAttributes.java

示例9: copyInto

import com.cburch.logisim.data.AbstractAttributeSet; //导入依赖的package包/类
@Override
protected void copyInto(AbstractAttributeSet destObj) {
	; // nothing to do
}
 
开发者ID:LogisimIt,项目名称:Logisim,代码行数:5,代码来源:TextAttributes.java

示例10: copyInto

import com.cburch.logisim.data.AbstractAttributeSet; //导入依赖的package包/类
@Override
public void copyInto(AbstractAttributeSet dest) {
	((CounterAttributes) dest).base = (AttributeSet) this.base.clone();
}
 
开发者ID:LogisimIt,项目名称:Logisim,代码行数:5,代码来源:CounterAttributes.java

示例11: copyInto

import com.cburch.logisim.data.AbstractAttributeSet; //导入依赖的package包/类
@Override
protected void copyInto(AbstractAttributeSet dest) {
	; // nothing to do
}
 
开发者ID:LogisimIt,项目名称:Logisim,代码行数:5,代码来源:GateAttributes.java

示例12: copyInto

import com.cburch.logisim.data.AbstractAttributeSet; //导入依赖的package包/类
@Override
protected void copyInto(AbstractAttributeSet dest) {
	throw new UnsupportedOperationException("SelectionAttributes.copyInto");
}
 
开发者ID:LogisimIt,项目名称:Logisim,代码行数:5,代码来源:SelectionAttributes.java

示例13: copyInto

import com.cburch.logisim.data.AbstractAttributeSet; //导入依赖的package包/类
@Override
protected void copyInto(AbstractAttributeSet dest) {
	CircuitAttributes other = (CircuitAttributes) dest;
	other.subcircInstance = null;
	other.listener = null;
}
 
开发者ID:LogisimIt,项目名称:Logisim,代码行数:7,代码来源:CircuitAttributes.java

示例14: copyInto

import com.cburch.logisim.data.AbstractAttributeSet; //导入依赖的package包/类
@Override
protected void copyInto(AbstractAttributeSet dest) {
	TclComponentAttributes attr = (TclComponentAttributes) dest;
	attr.labelFont = labelFont;
	attr.contentFile = new File(contentFile.getAbsolutePath());
}
 
开发者ID:reds-heig,项目名称:logisim-evolution,代码行数:7,代码来源:TclComponentAttributes.java

示例15: copyInto

import com.cburch.logisim.data.AbstractAttributeSet; //导入依赖的package包/类
@Override
protected void copyInto(AbstractAttributeSet dest) {
	VhdlEntityAttributes attr = (VhdlEntityAttributes) dest;
	attr.labelFont = labelFont;
	attr.content = content.clone();
}
 
开发者ID:reds-heig,项目名称:logisim-evolution,代码行数:7,代码来源:VhdlEntityAttributes.java


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