setName() публичный Метод

public setName ( String rhs ) : void
rhs String
Результат 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;
     }
 }