Examples of StyleCache


Examples of org.openstreetmap.josm.gui.mappaint.StyleCache

            txtMappaint.append("\n\n");
        }

        if (sel.size() == 2) {
            List<OsmPrimitive> selList = new ArrayList<>(sel);
            StyleCache sc1 = selList.get(0).mappaintStyle;
            StyleCache sc2 = selList.get(1).mappaintStyle;
            if (sc1 == sc2) {
                txtMappaint.append(tr("The 2 selected objects have identical style caches."));
            }
            if (!sc1.equals(sc2)) {
                txtMappaint.append(tr("The 2 selected objects have different style caches."));
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.StyleCache

  protected void processSubreportDrawableContent(final SubreportDrawable reportDrawable,
                                                 final RenderBox box,
                                                 final Element element,
                                                 final ReportStateKey stateKey)
  {
    final StyleCache textStyleCache = getTextStyleCache();
    final StyleCache styleCache = getStyleCache();
    final SimpleStyleSheet elementStyle;
    if (((box.getNodeType() & LayoutNodeTypes.MASK_BOX_BLOCK) == LayoutNodeTypes.MASK_BOX_BLOCK))
    {
      elementStyle = textStyleCache.getStyleSheet
          (new FullWidthWrapperStyleSheet(new NonDynamicHeightWrapperStyleSheet(element.getStyle())));
    }
    else if ((box.getNodeType() & LayoutNodeTypes.MASK_BOX_INLINE) == LayoutNodeTypes.MASK_BOX_INLINE)
    {
      elementStyle = styleCache.getStyleSheet(new FullWidthWrapperStyleSheet(element.getStyle()));
    }
    else
    {
      elementStyle = textStyleCache.getStyleSheet
          (new NonDynamicHeightWrapperStyleSheet(element.getStyle()));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.