コード例 #1
0
        ///
        ///          <summary> * (19) get EnumNamedColor attribute TopColor </summary>
        ///          * <returns> EnumNamedColor the value of the attribute </returns>
        ///
        public virtual EnumNamedColor getTopColor()
        {
            string         strAttrName  = "";
            EnumNamedColor nPlaceHolder = null;

            strAttrName  = getAttribute(AttributeName.TOPCOLOR, null, JDFConstants.EMPTYSTRING);
            nPlaceHolder = EnumNamedColor.getEnum(strAttrName);
            return(nPlaceHolder);
        }
コード例 #2
0
ファイル: JDFSpanNamedColor.cs プロジェクト: cip4/JDFLibNet
        // **************************************** Methods
        // *********************************************

        ///
        ///	 <summary> * AllowedValues - vector of allowed values for this EnumerationSpan
        ///	 *  </summary>
        ///	 * <returns> Vector - vector representation of the allowed values </returns>
        ///
        public override ValuedEnum getEnumType()
        {
            return(EnumNamedColor.getEnum(0));
        }
コード例 #3
0
 //         ---------------------------------------------------------------------
 //        Methods for Attribute TopColor
 //        ---------------------------------------------------------------------
 ///
 ///          <summary> * (13) set attribute TopColor </summary>
 ///          * <param name="value">: the value to set the attribute to </param>
 ///
 public virtual void setTopColor(EnumNamedColor @value)
 {
     setAttribute(AttributeName.TOPCOLOR, @value == null ? null : @value.getName(), null);
 }
コード例 #4
0
 //         ---------------------------------------------------------------------
 //        Methods for Attribute BottomColor
 //        ---------------------------------------------------------------------
 ///
 ///          <summary> * (13) set attribute BottomColor </summary>
 ///          * <param name="value">: the value to set the attribute to </param>
 ///
 public virtual void setBottomColor(EnumNamedColor @value)
 {
     setAttribute(AttributeName.BOTTOMCOLOR, @value == null ? null : @value.getName(), null);
 }
コード例 #5
0
ファイル: JDFAutoColor.cs プロジェクト: cip4/JDFLibNet
 //         ---------------------------------------------------------------------
 //        Methods for Attribute ColorName
 //        ---------------------------------------------------------------------
 ///
 ///          <summary> * (13) set attribute ColorName </summary>
 ///          * <param name="value">: the value to set the attribute to </param>
 ///
 public virtual void setColorName(EnumNamedColor @value)
 {
     setAttribute(AttributeName.COLORNAME, @value == null ? null : @value.getName(), null);
 }
コード例 #6
0
 //         ---------------------------------------------------------------------
 //        Methods for Attribute RibbonColor
 //        ---------------------------------------------------------------------
 ///
 ///          <summary> * (13) set attribute RibbonColor </summary>
 ///          * <param name="value">: the value to set the attribute to </param>
 ///
 public virtual void setRibbonColor(EnumNamedColor @value)
 {
     setAttribute(AttributeName.RIBBONCOLOR, @value == null ? null : @value.getName(), null);
 }
コード例 #7
0
 //         ---------------------------------------------------------------------
 //        Methods for Attribute SpineColor
 //        ---------------------------------------------------------------------
 ///
 ///          <summary> * (13) set attribute SpineColor </summary>
 ///          * <param name="value">: the value to set the attribute to </param>
 ///
 public virtual void setSpineColor(EnumNamedColor @value)
 {
     setAttribute(AttributeName.SPINECOLOR, @value == null ? null : @value.getName(), null);
 }
コード例 #8
0
        // ************************************************************************
        // * Attribute getter / setter
        // * ************************************************************************
        //

        //         ---------------------------------------------------------------------
        //        Methods for Attribute BinderColor
        //        ---------------------------------------------------------------------
        ///
        ///          <summary> * (13) set attribute BinderColor </summary>
        ///          * <param name="value">: the value to set the attribute to </param>
        ///
        public virtual void setBinderColor(EnumNamedColor @value)
        {
            setAttribute(AttributeName.BINDERCOLOR, @value == null ? null : @value.getName(), null);
        }