本文整理汇总了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();
}