コード例 #1
0
 ///
 ///          <summary> * (9) get attribute CenterReference </summary>
 ///          * <returns> the value of the attribute </returns>
 ///
 public virtual EnumCenterReference getCenterReference()
 {
     return(EnumCenterReference.getEnum(getAttribute(AttributeName.CENTERREFERENCE, null, "TrailingEdge")));
 }
コード例 #2
0
 static JDFAutoHoleMakingParams()
 {
     atrInfoTable[0]  = new AtrInfoTable(AttributeName.CENTERREFERENCE, 0x33333331, AttributeInfo.EnumAttributeType.enumeration, EnumCenterReference.getEnum(0), "TrailingEdge");
     atrInfoTable[1]  = new AtrInfoTable(AttributeName.HOLETYPE, 0x22222221, AttributeInfo.EnumAttributeType.enumerations, JDFMedia.EnumHoleType.getEnum(0), null);
     atrInfoTable[2]  = new AtrInfoTable(AttributeName.CENTER, 0x33333333, AttributeInfo.EnumAttributeType.XYPair, null, null);
     atrInfoTable[3]  = new AtrInfoTable(AttributeName.EXTENT, 0x33333333, AttributeInfo.EnumAttributeType.XYPair, null, null);
     atrInfoTable[4]  = new AtrInfoTable(AttributeName.HOLECOUNT, 0x33333311, AttributeInfo.EnumAttributeType.IntegerList, null, null);
     atrInfoTable[5]  = new AtrInfoTable(AttributeName.HOLEREFERENCEEDGE, 0x44444431, AttributeInfo.EnumAttributeType.enumeration, EnumHoleReferenceEdge.getEnum(0), null);
     atrInfoTable[6]  = new AtrInfoTable(AttributeName.SHAPE, 0x33333333, AttributeInfo.EnumAttributeType.enumeration, EnumShape.getEnum(0), null);
     elemInfoTable[0] = new ElemInfoTable(ElementName.HOLE, 0x33333333);
     elemInfoTable[1] = new ElemInfoTable(ElementName.HOLELINE, 0x33333331);
     elemInfoTable[2] = new ElemInfoTable(ElementName.REGISTERMARK, 0x66666661);
 }