當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。