예제 #1
0
        // ************************************************************************
        // * Attribute getter / setter
        // * ************************************************************************
        //

        //         ---------------------------------------------------------------------
        //        Methods for Attribute CenterReference
        //        ---------------------------------------------------------------------
        ///
        ///          <summary> * (5) set attribute CenterReference </summary>
        ///          * <param name="enumVar">: the enumVar to set the attribute to </param>
        ///
        public virtual void setCenterReference(EnumCenterReference enumVar)
        {
            setAttribute(AttributeName.CENTERREFERENCE, enumVar == null ? null : enumVar.getName(), null);
        }
예제 #2
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")));
 }
예제 #3
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);
 }