Exemple #1
0
 ///
 ///          <summary> * (9) get attribute GutterPolicy </summary>
 ///          * <returns> the value of the attribute </returns>
 ///
 public virtual EnumGutterPolicy getGutterPolicy()
 {
     return(EnumGutterPolicy.getEnum(getAttribute(AttributeName.GUTTERPOLICY, null, "Fixed")));
 }
Exemple #2
0
 static JDFAutoFitPolicy()
 {
     atrInfoTable[0] = new AtrInfoTable(AttributeName.GUTTERPOLICY, 0x33333331, AttributeInfo.EnumAttributeType.enumeration, EnumGutterPolicy.getEnum(0), "Fixed");
     atrInfoTable[1] = new AtrInfoTable(AttributeName.CLIPOFFSET, 0x33333331, AttributeInfo.EnumAttributeType.XYPair, null, null);
     atrInfoTable[2] = new AtrInfoTable(AttributeName.MINGUTTER, 0x33333331, AttributeInfo.EnumAttributeType.XYPair, null, null);
     atrInfoTable[3] = new AtrInfoTable(AttributeName.ROTATEPOLICY, 0x33333331, AttributeInfo.EnumAttributeType.enumeration, EnumRotatePolicy.getEnum(0), null);
     atrInfoTable[4] = new AtrInfoTable(AttributeName.SIZEPOLICY, 0x33333331, AttributeInfo.EnumAttributeType.enumeration, EnumSizePolicy.getEnum(0), null);
 }
Exemple #3
0
        // ************************************************************************
        // * Attribute getter / setter
        // * ************************************************************************
        //

        //         ---------------------------------------------------------------------
        //        Methods for Attribute GutterPolicy
        //        ---------------------------------------------------------------------
        ///
        ///          <summary> * (5) set attribute GutterPolicy </summary>
        ///          * <param name="enumVar">: the enumVar to set the attribute to </param>
        ///
        public virtual void setGutterPolicy(EnumGutterPolicy enumVar)
        {
            setAttribute(AttributeName.GUTTERPOLICY, enumVar == null ? null : enumVar.getName(), null);
        }