com.stimulsoft.base
Class StiJsonReportObjectHelper.Serialize

java.lang.Object
  extended by com.stimulsoft.base.StiJsonReportObjectHelper.Serialize
Enclosing class:
StiJsonReportObjectHelper

public static class StiJsonReportObjectHelper.Serialize
extends Object


Constructor Summary
StiJsonReportObjectHelper.Serialize()
           
 
Method Summary
static JSONObject colorArray(StiColor[] array)
           
static String font(StiFont font, String defaultFamily, float defaultEmSize)
           
static String font(StiFont font, String defaultFamily, float defaultEmSize, int defaultStyle)
           
static String fontDefault(StiFont font)
           
static JSONObject IntArray(int[] array)
           
static JSONObject IntArray(List<Integer> array)
           
static String jBorder(StiBorder border)
           
static String JBorder(StiBorder border)
           
static String jBorderSide(StiBorderSide side)
           
static String JBrush(StiBrush brush)
           
static String JBrush(StiBrush brush, StiBrush defaultBrush)
           
static String jCap(StiCap cap)
           
static String jColor(StiColor color)
           
static String jColor(StiColor color, StiColor defColor)
           
static String JColor(StiColor color, StiColorEnum defColor)
           
static JSONObject point(StiPoint pos)
           
static JSONObject pointF(StiPoint pos)
           
static String rectangleD(StiRectangle rect)
           
static JSONObject size(StiSize size)
           
static String sizeD(StiSize size)
           
static JSONObject StringArray(List<String> array)
           
static JSONObject StringArray(String[] array)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiJsonReportObjectHelper.Serialize

public StiJsonReportObjectHelper.Serialize()
Method Detail

fontDefault

public static String fontDefault(StiFont font)

font

public static String font(StiFont font,
                          String defaultFamily,
                          float defaultEmSize)

font

public static String font(StiFont font,
                          String defaultFamily,
                          float defaultEmSize,
                          int defaultStyle)

rectangleD

public static String rectangleD(StiRectangle rect)

sizeD

public static String sizeD(StiSize size)

jColor

public static String jColor(StiColor color,
                            StiColor defColor)

JColor

public static String JColor(StiColor color,
                            StiColorEnum defColor)

jColor

public static String jColor(StiColor color)

colorArray

public static JSONObject colorArray(StiColor[] array)
                             throws JSONException
Throws:
JSONException

StringArray

public static JSONObject StringArray(String[] array)
                              throws JSONException
Throws:
JSONException

StringArray

public static JSONObject StringArray(List<String> array)
                              throws JSONException
Throws:
JSONException

IntArray

public static JSONObject IntArray(int[] array)
                           throws JSONException
Throws:
JSONException

IntArray

public static JSONObject IntArray(List<Integer> array)
                           throws JSONException
Throws:
JSONException

size

public static JSONObject size(StiSize size)
                       throws JSONException
Throws:
JSONException

point

public static JSONObject point(StiPoint pos)
                        throws JSONException
Throws:
JSONException

pointF

public static JSONObject pointF(StiPoint pos)
                         throws JSONException
Throws:
JSONException

jCap

public static String jCap(StiCap cap)

JBrush

public static String JBrush(StiBrush brush)

JBrush

public static String JBrush(StiBrush brush,
                            StiBrush defaultBrush)

jBorderSide

public static String jBorderSide(StiBorderSide side)

JBorder

public static String JBorder(StiBorder border)

jBorder

public static String jBorder(StiBorder border)


Copyright © 2017 Stimulsoft. All Rights Reserved.