本文整理匯總了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;
}
示例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;
}
示例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;
}
示例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);
}
示例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();
}
示例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;
}
示例7: copyInto
import com.cburch.logisim.data.AbstractAttributeSet; //導入依賴的package包/類
@Override
protected void copyInto(AbstractAttributeSet dest) {
DrawingAttributeSet.this.addAttributeListener(this);
}
示例8: copyInto
import com.cburch.logisim.data.AbstractAttributeSet; //導入依賴的package包/類
@Override
protected void copyInto(AbstractAttributeSet dest) {
listener = new Listener();
selection.addSelectionListener(listener);
}
示例9: copyInto
import com.cburch.logisim.data.AbstractAttributeSet; //導入依賴的package包/類
@Override
protected void copyInto(AbstractAttributeSet destObj) {
; // nothing to do
}
示例10: copyInto
import com.cburch.logisim.data.AbstractAttributeSet; //導入依賴的package包/類
@Override
public void copyInto(AbstractAttributeSet dest) {
((CounterAttributes) dest).base = (AttributeSet) this.base.clone();
}
示例11: copyInto
import com.cburch.logisim.data.AbstractAttributeSet; //導入依賴的package包/類
@Override
protected void copyInto(AbstractAttributeSet dest) {
; // nothing to do
}
示例12: copyInto
import com.cburch.logisim.data.AbstractAttributeSet; //導入依賴的package包/類
@Override
protected void copyInto(AbstractAttributeSet dest) {
throw new UnsupportedOperationException("SelectionAttributes.copyInto");
}
示例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;
}
示例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());
}
示例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();
}