Package org.pentaho.reporting.designer.core.editor.styles

Examples of org.pentaho.reporting.designer.core.editor.styles.StyleTableModel$DefaultStyleDataBackend


  }

  private Object findStyleValue(final TestStyleEditorPanel sep,
                              final StyleKey styleKey)
  {
    final StyleTableModel dataModel = sep.getDataModel();
    for (int i = 0; i < dataModel.getRowCount(); i += 1)
    {
      final Object valueAt = dataModel.getValueAt(i, 0);
      if (valueAt instanceof GroupedName == false)
      {
        continue;
      }

      final GroupedName name = (GroupedName) valueAt;
      final StyleMetaData sm = (StyleMetaData) name.getMetaData();
      if (sm != null)
      {
        if (styleKey.equals(sm.getStyleKey()))
        {
          return dataModel.getValueAt(i, 2);
        }
      }
    }
    return null;
  }
View Full Code Here


      getDataModel().setSynchronous(true);
    }

    protected StyleTableModel createDataModel()
    {
      return new StyleTableModel(new InlineExecutor());
    }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.designer.core.editor.styles.StyleTableModel$DefaultStyleDataBackend

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.