コード例 #1
0
 public <E> E getAttributeValue(Attribute<E> attr) {
   InstanceComponent c = comp;
   AttributeSet as = c == null ? attrs : c.getAttributeSet();
   return as.getValue(attr);
 }
コード例 #2
0
 public AttributeSet getAttributeSet() {
   InstanceComponent c = comp;
   return c == null ? attrs : c.getAttributeSet();
 }