setName() public method

public setName ( String rhs ) : void
rhs String
return void
示例#1
0
        public cReportSection()
        {
            m_formulaHide.setName("H");

            // when a new section is create a new line section
            // is automatically added
            //
            m_sectionLines.add(null, "", -1);
        }
示例#2
0
 public cReportFormula add(String name)
 {
     try
     {
         cReportFormula c = new cReportFormula();
         c.setName(name);
         Add(name, c);
         return(c);
     }
     catch
     {
         return(null);
     }
 }
示例#3
0
        private void m_fFormula_CheckSintaxis(out bool cancel, String code) { 
            cReportFormula f = null;
            f = new cReportFormula();
            if (m_fProperties != null) {
                f.setName(m_fProperties.getFormulaName());
            } 
            else {
                f.setName(m_fSecProperties.getFormulaName());
            }
            f.setText(code);
			cancel = !m_report.getCompiler().checkSyntax(f);
        }
示例#4
0
        public bool checkSyntax(String code) {
            cReportFormula f = null;

            f = new cReportFormula();

            if (m_fProperties != null)
            {
                f.setName(m_fProperties.getFormulaName());
            }
            else if (m_fSecProperties != null)
            {
                f.setName(m_fSecProperties.getFormulaName());
            }
            else
            {
                f.setName(cMainEditor.getCtrlTreeBox().getFormulaName());
            }

            f.setText(code);

            return m_report.getCompiler().checkSyntax(f);
        }
示例#5
0
 public cReportControl()
 {
     m_formulaHide.setName("H");
     m_formulaValue.setName("V");
 }
示例#6
0
 public cReportSectionLine()
 {
     m_controls.setSectionLine(this);
     m_formulaHide.setName("H");
 }
 public cReportFormula add(String name)
 {
     try
     {
         cReportFormula c = new cReportFormula();
         c.setName(name);
         Add(name, c);
         return c;
     }
     catch 
     {
         return null;
     }
 }