Example #1
0
 ///
 ///          <summary> * (9) get attribute To </summary>
 ///          * <returns> the value of the attribute </returns>
 ///
 public virtual EnumTo getTo()
 {
     return(EnumTo.getEnum(getAttribute(AttributeName.TO, null, null)));
 }
Example #2
0
 static JDFAutoFold()
 {
     atrInfoTable[0] = new AtrInfoTable(AttributeName.FROM, 0x22222221, AttributeInfo.EnumAttributeType.enumeration, EnumFrom.getEnum(0), null);
     atrInfoTable[1] = new AtrInfoTable(AttributeName.TO, 0x22222221, AttributeInfo.EnumAttributeType.enumeration, EnumTo.getEnum(0), null);
     atrInfoTable[2] = new AtrInfoTable(AttributeName.TRAVEL, 0x33333331, AttributeInfo.EnumAttributeType.double_, null, null);
     atrInfoTable[3] = new AtrInfoTable(AttributeName.RELATIVETRAVEL, 0x33333311, AttributeInfo.EnumAttributeType.double_, null, null);
 }
Example #3
0
 //         ---------------------------------------------------------------------
 //        Methods for Attribute To
 //        ---------------------------------------------------------------------
 ///
 ///          <summary> * (5) set attribute To </summary>
 ///          * <param name="enumVar">: the enumVar to set the attribute to </param>
 ///
 public virtual void setTo(EnumTo enumVar)
 {
     setAttribute(AttributeName.TO, enumVar == null ? null : enumVar.getName(), null);
 }