Ejemplo n.º 1
0
        ///
        ///	 <summary> * Sets the ValueUsage attribute of the iSkip'th subelement
        ///	 * <code>Value</code>
        ///	 *  </summary>
        ///	 * <param name="iSkip">
        ///	 *            the number of <code>Value</code> elements to skip </param>
        ///	 * <param name="value">
        ///	 *            value to set the attribute to </param>
        ///
        public virtual void setValueValueUsage(int iSkip, EnumFitsValue @value)
        {
            JDFValue e = (JDFValue)getElement(ElementName.VALUE, null, iSkip);

            e.setValueUsage(EnumValueUsage.getEnum(@value.getName()));
        }
Ejemplo n.º 2
0
 ///
 ///	 <summary> * (9) get ValueUsage attribute ValueUsage
 ///	 *  </summary>
 ///	 * <returns> EnumValueUsage the value of the attribute </returns>
 ///
 public virtual EnumValueUsage getValueUsage()
 {
     return(EnumValueUsage.getEnum(getAttribute(AttributeName.VALUEUSAGE, null, null)));
 }
Ejemplo n.º 3
0
 public static EnumValueUsage stringToValueUsage(string enumName)
 {
     return(EnumValueUsage.getEnum(enumName));
 }
Ejemplo n.º 4
0
 //
 //	 * --------------------------------------------------------------------- Methods for Attribute ValueUsage
 //	 * ---------------------------------------------------------------------
 //
 ///
 ///
 ///	 <summary> * (5) set attribute ValueUsage
 ///	 *  </summary>
 ///	 * <param name="EnumValueUsage"> enumVar: the enumVar to set the attribute to </param>
 ///
 public virtual void setValueUsage(EnumValueUsage enumVar)
 {
     setAttribute(AttributeName.VALUEUSAGE, enumVar.getName(), null);
 }
Ejemplo n.º 5
0
 static JDFValue()
 {
     atrInfoTable[0]             = new AtrInfoTable(AttributeName.VALUEUSAGE, 0x33333311, AttributeInfo.EnumAttributeType.enumeration, EnumValueUsage.getEnum(0), null);
     atrInfoTable_matrix[0]      = new AtrInfoTable(AttributeName.ALLOWEDVALUE, 0x22222222, AttributeInfo.EnumAttributeType.matrix, null, null);
     atrInfoTable_matrix[1]      = new AtrInfoTable(AttributeName.PRESENTVALUE, 0x44444431, AttributeInfo.EnumAttributeType.matrix, null, null);
     atrInfoTable_pdfpath[0]     = new AtrInfoTable(AttributeName.ALLOWEDVALUE, 0x22222222, AttributeInfo.EnumAttributeType.PDFPath, null, null);
     atrInfoTable_pdfpath[1]     = new AtrInfoTable(AttributeName.PRESENTVALUE, 0x44444431, AttributeInfo.EnumAttributeType.PDFPath, null, null);
     atrInfoTable_string[0]      = new AtrInfoTable(AttributeName.ALLOWEDVALUE, 0x22222222, AttributeInfo.EnumAttributeType.string_, null, null);
     atrInfoTable_string[1]      = new AtrInfoTable(AttributeName.PRESENTVALUE, 0x44444431, AttributeInfo.EnumAttributeType.string_, null, null);
     atrInfoTable_matrixEval[0]  = new AtrInfoTable(AttributeName.VALUE, 0x22222222, AttributeInfo.EnumAttributeType.matrix, null, null);
     atrInfoTable_pdfpathEval[0] = new AtrInfoTable(AttributeName.VALUE, 0x22222222, AttributeInfo.EnumAttributeType.PDFPath, null, null);
     atrInfoTable_stringEval[0]  = new AtrInfoTable(AttributeName.VALUE, 0x22222222, AttributeInfo.EnumAttributeType.string_, null, null);
     elemInfoTable[0]            = new ElemInfoTable(ElementName.LOC, 0x33333311);
 }