Package com.mxgraph.util
Class mxConstants
- java.lang.Object
-
- com.mxgraph.util.mxConstants
-
public class mxConstants extends java.lang.Object
Contains all global constants.
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
ABSOLUTE_LINE_HEIGHT
Specifies if absolute line heights should be used (px) in CSS.static java.lang.String
ALIGN_BOTTOM
ALIGN_BOTTOMstatic java.lang.String
ALIGN_CENTER
ALIGN_CENTERstatic java.lang.String
ALIGN_LEFT
ALIGN_LEFTstatic java.lang.String
ALIGN_MIDDLE
ALIGN_MIDDLEstatic java.lang.String
ALIGN_RIGHT
ALIGN_RIGHTstatic java.lang.String
ALIGN_TOP
ALIGN_TOPstatic java.lang.String
ARROW_BLOCK
ARROW_BLOCKstatic java.lang.String
ARROW_CLASSIC
ARROW_CLASSICstatic java.lang.String
ARROW_DIAMOND
ARROW_OPENstatic java.lang.String
ARROW_OPEN
ARROW_OPENstatic java.lang.String
ARROW_OVAL
ARROW_BLOCKstatic int
ARROW_SIZE
Defines the size of the arrowhead in the arrow shape.static int
ARROW_SPACING
Defines the spacing between the arrow shape and its terminals.static int
ARROW_WIDTH
Defines the width of the arrow shape.static boolean
CONNECT_HANDLE_ENABLED
Defines the default value for the connect handle.static int
CONNECT_HANDLE_SIZE
Defines the connect handle size.static float[]
DEFAULT_DASHED_PATTERN
Specifies the default dash pattern, 3 pixels solid, 3 pixels clear.static java.lang.String
DEFAULT_FONTFAMILIES
Comma separated list of default fonts for CSS properties.static java.lang.String
DEFAULT_FONTFAMILY
Defines the default font family.static int
DEFAULT_FONTSIZE
Defines the default font size (in px).static double
DEFAULT_HOTSPOT
Defines the portion of the cell which is to be used as a connectable region.static int
DEFAULT_IMAGESIZE
Defines the default image size.static double
DEFAULT_LABEL_BUFFER
Specifies the default distance at 1.0 scale that the label curve is created from its base curvestatic int
DEFAULT_MARKERSIZE
Defines the default marker size.static int
DEFAULT_STARTSIZE
Defines the default start size for swimlanes.static double
DEG_PER_RAD
Defines the number of degrees per radian.static java.lang.String
DIRECTION_EAST
DIRECTION_EASTstatic int
DIRECTION_MASK_ALL
DIRECTION_MASK_EASTstatic int
DIRECTION_MASK_EAST
DIRECTION_MASK_EASTstatic int
DIRECTION_MASK_NONE
DIRECTION_MASK_NONEstatic int
DIRECTION_MASK_NORTH
DIRECTION_MASK_NORTHstatic int
DIRECTION_MASK_SOUTH
DIRECTION_MASK_SOUTHstatic int
DIRECTION_MASK_WEST
DIRECTION_MASK_WESTstatic java.lang.String
DIRECTION_NORTH
DIRECTION_NORTHstatic java.lang.String
DIRECTION_SOUTH
DIRECTION_SOUTHstatic java.lang.String
DIRECTION_WEST
DIRECTION_WESTstatic java.lang.String
EDGESTYLE_ELBOW
Name of the elbow edge style.static java.lang.String
EDGESTYLE_ENTITY_RELATION
Name of the entity relation edge style.static java.lang.String
EDGESTYLE_LOOP
Name of the loop edge style.static java.lang.String
EDGESTYLE_ORTHOGONAL
Name of the orthogonal edge style.static java.lang.String
EDGESTYLE_SEGMENT
Name of the generic segment edge style.static java.lang.String
EDGESTYLE_SIDETOSIDE
Name of the side to side edge style.static java.lang.String
EDGESTYLE_TOPTOBOTTOM
Name of the top to bottom edge style.static java.lang.String
ELBOW_HORIZONTAL
ELBOW_HORIZONTALstatic java.lang.String
ELBOW_VERTICAL
ELBOW_VERTICALstatic int
ENTITY_SEGMENT
Defines the length of the horizontal segment of an Entity Relation.static int
FONT_BOLD
FONT_BOLDstatic int
FONT_ITALIC
FONT_ITALICstatic int
FONT_STRIKETHROUGH
FONT_STRIKETHROUGHstatic int
FONT_UNDERLINE
FONT_UNDERLINEstatic int
HANDLE_SIZE
Defines the handle size.static int
LABEL_HANDLE_SIZE
Defines the handle size.static int
LABEL_INSET
Defines the inset in absolute pixels between the label bounding box and the label text.static double
LABEL_SCALE_BUFFER
Multiplier to the width that is passed into the word wrapping calculation See mxUtils.wordWrap for detailsstatic double
LINE_ARCSIZE
Defines the size of the arcs for rounded edges.static float
LINE_HEIGHT
Default line height for text output.static int
LINESPACING
Specifies the line spacing.static int
MAX_HOTSPOT_SIZE
Defines the maximum size in pixels of the portion of the cell which is to be used as a connectable region.static int
MIN_HOTSPOT_SIZE
Defines the minimum size in pixels of the portion of the cell which is to be used as a connectable region.static double
MIN_SCALE_FOR_ROUNDED_LINES
Defines the minimum scale at which rounded polylines should be painted.static java.lang.String
NONE
Defines the value for none.static java.lang.String
NS_SVG
Defines the SVG namespace.static java.lang.String
NS_XHTML
Defines the XHTML namespace.static java.lang.String
NS_XLINK
Defines the XLink namespace.static java.lang.String
PERIMETER_ELLIPSE
Name of the ellipse perimeter.static java.lang.String
PERIMETER_HEXAGON
Name of the hexagon perimeter.static java.lang.String
PERIMETER_RECTANGLE
Name of the rectangle perimeter.static java.lang.String
PERIMETER_RHOMBUS
Name of the rhombus perimeter.static java.lang.String
PERIMETER_TRIANGLE
Name of the triangle perimeter.static double
RAD_PER_DEG
Defines the number of radians per degree.static double
RECTANGLE_ROUNDING_FACTOR
Defines the rounding factor for rounded rectangles in percent between 0 and 1.static int
SHADOW_OFFSETX
Defines the x-offset to be used for shadows.static int
SHADOW_OFFSETY
Defines the y-offset to be used for shadows.static java.lang.String
SHAPE_ACTOR
SHAPE_ACTORstatic java.lang.String
SHAPE_ARROW
SHAPE_ARROWstatic java.lang.String
SHAPE_CLOUD
SHAPE_CLOUDstatic java.lang.String
SHAPE_CONNECTOR
SHAPE_CONNECTORstatic java.lang.String
SHAPE_CURVE
SHAPE_ARROWstatic java.lang.String
SHAPE_CYLINDER
SHAPE_CYLINDERstatic java.lang.String
SHAPE_DOUBLE_ELLIPSE
SHAPE_DOUBLE_ELLIPSEstatic java.lang.String
SHAPE_DOUBLE_RECTANGLE
SHAPE_DOUBLE_RECTANGLEstatic java.lang.String
SHAPE_ELLIPSE
SHAPE_ELLIPSEstatic java.lang.String
SHAPE_HEXAGON
SHAPE_HEXAGONstatic java.lang.String
SHAPE_IMAGE
SHAPE_IMAGEstatic java.lang.String
SHAPE_LABEL
SHAPE_LABELstatic java.lang.String
SHAPE_LINE
SHAPE_LINEstatic java.lang.String
SHAPE_RECTANGLE
SHAPE_RECTANGLEstatic java.lang.String
SHAPE_RHOMBUS
SHAPE_RHOMBUSstatic java.lang.String
SHAPE_SWIMLANE
SHAPE_SWIMLANEstatic java.lang.String
SHAPE_TRIANGLE
SHAPE_TRIANGLEstatic boolean
SPLIT_WORDS
Whether or not to split whole words when applying word wrapping in mxUtils.wordWrap.static int
STENCIL_SHADOW_OPACITY
Defines the default opacity for stencils shadows.static java.lang.String
STENCIL_SHADOWCOLOR
Defines the default shadow color for stencils.static java.lang.String
STYLE_ALIGN
Defines the key for the align style.static java.lang.String
STYLE_ARCSIZE
Defines the rounding factor for a rounded rectangle in percent (without the percent sign).static java.lang.String
STYLE_AUTOSIZE
Defines the key for the autosize style.static java.lang.String
STYLE_BENDABLE
Defines the key for the bendable style.static java.lang.String
STYLE_CLONEABLE
Defines the key for the cloneable style.static java.lang.String
STYLE_DASH_PATTERN
Defines the key for the dashed pattern style.static java.lang.String
STYLE_DASHED
Defines the key for the dashed style.static java.lang.String
STYLE_DELETABLE
Defines the key for the deletable style.static java.lang.String
STYLE_DIRECTION
Defines the key for the direction style.static java.lang.String
STYLE_EDGE
Takes a function that creates points.static java.lang.String
STYLE_EDITABLE
Defines the key for the editable style.static java.lang.String
STYLE_ELBOW
Defines the key for the elbow style.static java.lang.String
STYLE_ENDARROW
Defines the key for the endArrow style.static java.lang.String
STYLE_ENDFILL
Defines the key for the endFill style.static java.lang.String
STYLE_ENDSIZE
Defines the key for the endSize style.static java.lang.String
STYLE_ENTRY_PERIMETER
Defines if the perimeter should be used to find the exact entry point along the perimeter of the target.static java.lang.String
STYLE_ENTRY_X
Defines the key for the horizontal relative coordinate connection point of an edge with its target terminal.static java.lang.String
STYLE_ENTRY_Y
Defines the key for the vertical relative coordinate connection point of an edge with its target terminal.static java.lang.String
STYLE_EXIT_PERIMETER
Defines if the perimeter should be used to find the exact entry point along the perimeter of the source.static java.lang.String
STYLE_EXIT_X
Defines the key for the horizontal relative coordinate connection point of an edge with its source terminal.static java.lang.String
STYLE_EXIT_Y
Defines the key for the vertical relative coordinate connection point of an edge with its source terminal.static java.lang.String
STYLE_FILL_OPACITY
Defines the key for the fill opacity style.static java.lang.String
STYLE_FILLCOLOR
Defines the key for the fillColor style.static java.lang.String
STYLE_FLIPH
Defines the key for the horizontal image flip.static java.lang.String
STYLE_FLIPV
Variable: STYLE_FLIPV Defines the key for the vertical flip.static java.lang.String
STYLE_FOLDABLE
Defines the key for the foldable style.static java.lang.String
STYLE_FONTCOLOR
Defines the key for the fontColor style.static java.lang.String
STYLE_FONTFAMILY
Defines the key for the fontFamily style.static java.lang.String
STYLE_FONTSIZE
Defines the key for the fontSize style (in px).static java.lang.String
STYLE_FONTSTYLE
Defines the key for the fontStyle style.static java.lang.String
STYLE_GLASS
Defines the key for the glass style.static java.lang.String
STYLE_GRADIENT_DIRECTION
Defines the key for the gradient direction.static java.lang.String
STYLE_GRADIENTCOLOR
Defines the key for the gradientColor style.static java.lang.String
STYLE_HORIZONTAL
Defines the key for the horizontal style.static java.lang.String
STYLE_IMAGE
Defines the key for the image style.static java.lang.String
STYLE_IMAGE_ALIGN
Defines the key for the align style.static java.lang.String
STYLE_IMAGE_BACKGROUND
Defines the key for the image background color.static java.lang.String
STYLE_IMAGE_BORDER
Defines the key for the image border color.static java.lang.String
STYLE_IMAGE_FLIPH
Defines the key for the horizontal image flip.static java.lang.String
STYLE_IMAGE_FLIPV
Defines the key for the vertical image flip.static java.lang.String
STYLE_IMAGE_HEIGHT
Defines the key for the imageHeight style The type of this value isint
, the value is the image height in pixels and must be greater than 0.static java.lang.String
STYLE_IMAGE_VERTICAL_ALIGN
Defines the key for the verticalAlign style.static java.lang.String
STYLE_IMAGE_WIDTH
Defines the key for the imageWidth style.static java.lang.String
STYLE_INDICATOR_COLOR
Defines the key for the indicatorColor style.static java.lang.String
STYLE_INDICATOR_GRADIENTCOLOR
Defines the key for the indicatorGradientColor style.static java.lang.String
STYLE_INDICATOR_HEIGHT
Defines the key for the indicatorHeight style (in px).static java.lang.String
STYLE_INDICATOR_IMAGE
Defines the key for the indicatorImage style.static java.lang.String
STYLE_INDICATOR_SHAPE
Defines the key for the indicatorShape style.static java.lang.String
STYLE_INDICATOR_SPACING
Defines the key for the indicatorSpacing style (in px).static java.lang.String
STYLE_INDICATOR_WIDTH
Defines the key for the indicatorWidth style (in px).static java.lang.String
STYLE_LABEL_BACKGROUNDCOLOR
Defines the key for the label background color.static java.lang.String
STYLE_LABEL_BORDERCOLOR
Defines the key for the label border color.static java.lang.String
STYLE_LABEL_POSITION
Defines the key for the horizontal label position of vertices.static java.lang.String
STYLE_LOOP
Defines the key for the loop style.static java.lang.String
STYLE_MOVABLE
Defines the key for the movable style.static java.lang.String
STYLE_NOEDGESTYLE
Defines the key for the noEdgeStyle style.static java.lang.String
STYLE_NOLABEL
Defines the key for the noLabel style.static java.lang.String
STYLE_OPACITY
Defines the key for the opacity style.static java.lang.String
STYLE_ORTHOGONAL
Defines if the connection points on either end of the edge should be computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location.static java.lang.String
STYLE_OVERFLOW
Defines the key for the overflow style.static java.lang.String
STYLE_PERIMETER
Defines the key for the perimeter style.static java.lang.String
STYLE_PERIMETER_SPACING
Defines the key for the perimeter spacing.static java.lang.String
STYLE_PORT_CONSTRAINT
Defines the direction(s) that edges are allowed to connect to cells in.static java.lang.String
STYLE_RESIZABLE
Defines the key for the resizable style.static java.lang.String
STYLE_ROTATION
Defines the key for the rotation style.static java.lang.String
STYLE_ROUNDED
Defines the key for the rounded style.static java.lang.String
STYLE_ROUTING_CENTER_X
Defines the key for the horizontal routing center.static java.lang.String
STYLE_ROUTING_CENTER_Y
Defines the key for the vertical routing center.static java.lang.String
STYLE_SEGMENT
Defines the key for the segment style.static java.lang.String
STYLE_SEPARATORCOLOR
Defines the key for the separatorColor style.static java.lang.String
STYLE_SHADOW
Defines the key for the shadow style.static java.lang.String
STYLE_SHAPE
Defines the key for the shape style.static java.lang.String
STYLE_SOURCE_PERIMETER_SPACING
Defines the key for the source perimeter spacing.static java.lang.String
STYLE_SOURCE_PORT
Defines the ID of the cell that should be used for computing the perimeter point of the source for an edge.static java.lang.String
STYLE_SPACING
Defines the key for the spacing.static java.lang.String
STYLE_SPACING_BOTTOM
Defines the key for the spacingBottom style The value represents the spacing, in pixels, added to the bottom side of a label in a vertex (style applies to vertices only).static java.lang.String
STYLE_SPACING_LEFT
Defines the key for the spacingLeft style.static java.lang.String
STYLE_SPACING_RIGHT
Defines the key for the spacingRight style The value represents the spacing, in pixels, added to the right side of a label in a vertex (style applies to vertices only).static java.lang.String
STYLE_SPACING_TOP
Defines the key for the spacingTop style.static java.lang.String
STYLE_STARTARROW
Defines the key for the startArrow style.static java.lang.String
STYLE_STARTFILL
Defines the key for the startFill style.static java.lang.String
STYLE_STARTSIZE
Defines the key for the startSize style.static java.lang.String
STYLE_STENCIL_FLIPH
Defines the key for the horizontal stencil flip.static java.lang.String
STYLE_STENCIL_FLIPV
Defines the key for the vertical stencil flip.static java.lang.String
STYLE_STROKE_OPACITY
Defines the key for the stroke opacity style.static java.lang.String
STYLE_STROKECOLOR
Defines the key for the strokeColor style.static java.lang.String
STYLE_STROKEWIDTH
Defines the key for the strokeWidth style.static java.lang.String
STYLE_SWIMLANE_FILLCOLOR
Defines the key for the fill color of the swimlane background.static java.lang.String
STYLE_SWIMLANE_LINE
Defines the key for the swimlaneLine style.static java.lang.String
STYLE_TARGET_PERIMETER_SPACING
Defines the key for the target perimeter spacing.static java.lang.String
STYLE_TARGET_PORT
Defines the ID of the cell that should be used for computing the perimeter point of the target for an edge.static java.lang.String
STYLE_TEXT_OPACITY
Defines the key for the text opacity style.static java.lang.String
STYLE_VERTICAL_ALIGN
Defines the key for the verticalAlign style.static java.lang.String
STYLE_VERTICAL_LABEL_POSITION
Defines the key for the vertical label position of vertices.static java.lang.String
STYLE_WHITE_SPACE
Defines the key for the white-space style.static java.lang.String
SVG_SHADOWTRANSFORM
Defines the transformation used to draw shadows in SVG.static java.lang.String
W3C_SHADOWCOLOR
Defines the color to be used to draw shadows in W3C standards.
-
Constructor Summary
Constructors Constructor Description mxConstants()
-
-
-
Field Detail
-
RAD_PER_DEG
public static double RAD_PER_DEG
Defines the number of radians per degree.
-
DEG_PER_RAD
public static double DEG_PER_RAD
Defines the number of degrees per radian.
-
MIN_SCALE_FOR_ROUNDED_LINES
public static double MIN_SCALE_FOR_ROUNDED_LINES
Defines the minimum scale at which rounded polylines should be painted. Default is 0.05.
-
DEFAULT_HOTSPOT
public static double DEFAULT_HOTSPOT
Defines the portion of the cell which is to be used as a connectable region. Default is 0.3.
-
MIN_HOTSPOT_SIZE
public static int MIN_HOTSPOT_SIZE
Defines the minimum size in pixels of the portion of the cell which is to be used as a connectable region. Default is 8.
-
MAX_HOTSPOT_SIZE
public static int MAX_HOTSPOT_SIZE
Defines the maximum size in pixels of the portion of the cell which is to be used as a connectable region. Use 0 for no maximum. Default is 0.
-
NS_SVG
public static java.lang.String NS_SVG
Defines the SVG namespace.
-
NS_XHTML
public static java.lang.String NS_XHTML
Defines the XHTML namespace.
-
NS_XLINK
public static java.lang.String NS_XLINK
Defines the XLink namespace.
-
DEFAULT_FONTFAMILIES
public static java.lang.String DEFAULT_FONTFAMILIES
Comma separated list of default fonts for CSS properties. And the default font family value for new image export. Default is Arial, Helvetica.
-
DEFAULT_FONTFAMILY
public static java.lang.String DEFAULT_FONTFAMILY
Defines the default font family. Default is "Dialog". (To be replaced with Font.DIALOG after EOL of Java 1.5.)
-
DEFAULT_FONTSIZE
public static int DEFAULT_FONTSIZE
Defines the default font size (in px). Default is 11.
-
DEFAULT_STARTSIZE
public static int DEFAULT_STARTSIZE
Defines the default start size for swimlanes. Default is 40.
-
LINE_HEIGHT
public static float LINE_HEIGHT
Default line height for text output. Default is 1.2. This is ignored for HTML in the current version of Java. See http://docs.oracle.com/javase/6/docs/api/index.html?javax/swing/text/html/CSS.html
-
ABSOLUTE_LINE_HEIGHT
public static boolean ABSOLUTE_LINE_HEIGHT
Specifies if absolute line heights should be used (px) in CSS. Default is false. Set this to true for backwards compatibility.
-
LINESPACING
public static int LINESPACING
Specifies the line spacing. Default is 0.
-
SPLIT_WORDS
public static boolean SPLIT_WORDS
Whether or not to split whole words when applying word wrapping in mxUtils.wordWrap.
-
LABEL_INSET
public static int LABEL_INSET
Defines the inset in absolute pixels between the label bounding box and the label text. Default is 3.
-
LABEL_SCALE_BUFFER
public static double LABEL_SCALE_BUFFER
Multiplier to the width that is passed into the word wrapping calculation See mxUtils.wordWrap for details
-
DEFAULT_MARKERSIZE
public static int DEFAULT_MARKERSIZE
Defines the default marker size. Default is 6.
-
DEFAULT_IMAGESIZE
public static int DEFAULT_IMAGESIZE
Defines the default image size. Default is 24.
-
STENCIL_SHADOW_OPACITY
public static int STENCIL_SHADOW_OPACITY
Defines the default opacity for stencils shadows. Default is 1.
-
STENCIL_SHADOWCOLOR
public static java.lang.String STENCIL_SHADOWCOLOR
Defines the default shadow color for stencils. Default is "gray".
-
SHADOW_OFFSETX
public static int SHADOW_OFFSETX
Defines the x-offset to be used for shadows. Default is 2.
-
SHADOW_OFFSETY
public static int SHADOW_OFFSETY
Defines the y-offset to be used for shadows. Default is 3.
-
W3C_SHADOWCOLOR
public static java.lang.String W3C_SHADOWCOLOR
Defines the color to be used to draw shadows in W3C standards. Default is gray.
-
SVG_SHADOWTRANSFORM
public static java.lang.String SVG_SHADOWTRANSFORM
Defines the transformation used to draw shadows in SVG.
-
DEFAULT_DASHED_PATTERN
public static float[] DEFAULT_DASHED_PATTERN
Specifies the default dash pattern, 3 pixels solid, 3 pixels clear.
-
DEFAULT_LABEL_BUFFER
public static double DEFAULT_LABEL_BUFFER
Specifies the default distance at 1.0 scale that the label curve is created from its base curve
-
HANDLE_SIZE
public static int HANDLE_SIZE
Defines the handle size. Default is 7.
-
LABEL_HANDLE_SIZE
public static int LABEL_HANDLE_SIZE
Defines the handle size. Default is 4.
-
CONNECT_HANDLE_ENABLED
public static boolean CONNECT_HANDLE_ENABLED
Defines the default value for the connect handle. Default is false.
-
CONNECT_HANDLE_SIZE
public static int CONNECT_HANDLE_SIZE
Defines the connect handle size. Default is 8.
-
ENTITY_SEGMENT
public static int ENTITY_SEGMENT
Defines the length of the horizontal segment of an Entity Relation. This can be overridden using mxConstants.STYLE_SEGMENT style. Default is 30.
-
RECTANGLE_ROUNDING_FACTOR
public static double RECTANGLE_ROUNDING_FACTOR
Defines the rounding factor for rounded rectangles in percent between 0 and 1. Values should be smaller than 0.5. Default is 0.15.
-
LINE_ARCSIZE
public static double LINE_ARCSIZE
Defines the size of the arcs for rounded edges. Default is 10.
-
ARROW_SPACING
public static int ARROW_SPACING
Defines the spacing between the arrow shape and its terminals. Default is 10.
-
ARROW_WIDTH
public static int ARROW_WIDTH
Defines the width of the arrow shape. Default is 30.
-
ARROW_SIZE
public static int ARROW_SIZE
Defines the size of the arrowhead in the arrow shape. Default is 30.
-
NONE
public static java.lang.String NONE
Defines the value for none. Default is "none".
-
STYLE_PERIMETER
public static java.lang.String STYLE_PERIMETER
Defines the key for the perimeter style. This is a function that defines the perimeter around a particular shape. Possible values are the functions defined in mxPerimeter that use themxPerimeterFunction
interface. Alternatively, the constants in this class that start withPERIMETER_
may be used to access perimeter styles inmxStyleRegistry
.
-
STYLE_SOURCE_PORT
public static java.lang.String STYLE_SOURCE_PORT
Defines the ID of the cell that should be used for computing the perimeter point of the source for an edge. This allows for graphically connecting to a cell while keeping the actual terminal of the edge.
-
STYLE_TARGET_PORT
public static java.lang.String STYLE_TARGET_PORT
Defines the ID of the cell that should be used for computing the perimeter point of the target for an edge. This allows for graphically connecting to a cell while keeping the actual terminal of the edge.
-
STYLE_PORT_CONSTRAINT
public static java.lang.String STYLE_PORT_CONSTRAINT
Defines the direction(s) that edges are allowed to connect to cells in. Possible values areDIRECTION_NORTH, DIRECTION_SOUTH, DIRECTION_EAST
andDIRECTION_WEST
.
-
STYLE_OPACITY
public static java.lang.String STYLE_OPACITY
Defines the key for the opacity style. The type of the value isfloat
and the possible range is 0-100.
-
STYLE_FILL_OPACITY
public static java.lang.String STYLE_FILL_OPACITY
Defines the key for the fill opacity style. The type of the value isfloat
and the possible range is 0-100.
-
STYLE_STROKE_OPACITY
public static java.lang.String STYLE_STROKE_OPACITY
Defines the key for the stroke opacity style. The type of the value isfloat
and the possible range is 0-100.
-
STYLE_TEXT_OPACITY
public static java.lang.String STYLE_TEXT_OPACITY
Defines the key for the text opacity style. The type of the value isfloat
and the possible range is 0-100.
-
STYLE_OVERFLOW
public static java.lang.String STYLE_OVERFLOW
Defines the key for the overflow style. Possible values are "visible", "hidden" and "fill". The default value is "visible". This value specifies how overlapping vertex labels are handles. A value of "visible" will show the complete label. A value of "hidden" will clip the label so that it does not overlap the vertex bounds. A value of "fill" will use the vertex bounds for the label.- See Also:
mxGraph.isLabelClipped(Object)
-
STYLE_ORTHOGONAL
public static java.lang.String STYLE_ORTHOGONAL
Defines if the connection points on either end of the edge should be computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location. Default is false. This is used in mxGraph.isOrthogonal, which also returns true if the edgeStyle of the edge is an elbow or entity.
-
STYLE_EXIT_X
public static java.lang.String STYLE_EXIT_X
Defines the key for the horizontal relative coordinate connection point of an edge with its source terminal.
-
STYLE_EXIT_Y
public static java.lang.String STYLE_EXIT_Y
Defines the key for the vertical relative coordinate connection point of an edge with its source terminal.
-
STYLE_EXIT_PERIMETER
public static java.lang.String STYLE_EXIT_PERIMETER
Defines if the perimeter should be used to find the exact entry point along the perimeter of the source. Possible values are 0 (false) and 1 (true). Default is 1 (true).
-
STYLE_ENTRY_X
public static java.lang.String STYLE_ENTRY_X
Defines the key for the horizontal relative coordinate connection point of an edge with its target terminal.
-
STYLE_ENTRY_Y
public static java.lang.String STYLE_ENTRY_Y
Defines the key for the vertical relative coordinate connection point of an edge with its target terminal.
-
STYLE_ENTRY_PERIMETER
public static java.lang.String STYLE_ENTRY_PERIMETER
Defines if the perimeter should be used to find the exact entry point along the perimeter of the target. Possible values are 0 (false) and 1 (true). Default is 1 (true).
-
STYLE_WHITE_SPACE
public static java.lang.String STYLE_WHITE_SPACE
Defines the key for the white-space style. Possible values are "nowrap" and "wrap". The default value is "nowrap". This value specifies how white-space inside a HTML vertex label should be handled. A value of "nowrap" means the text will never wrap to the next line until a linefeed is encountered. A value of "wrap" means text will wrap when necessary.
-
STYLE_ROTATION
public static java.lang.String STYLE_ROTATION
Defines the key for the rotation style. The type of the value isdouble
and the possible range is 0-360.
-
STYLE_SWIMLANE_FILLCOLOR
public static java.lang.String STYLE_SWIMLANE_FILLCOLOR
Defines the key for the fill color of the swimlane background. The value is a string expression supported by mxUtils.parseColor.- See Also:
mxUtils.parseColor(String)
-
STYLE_FILLCOLOR
public static java.lang.String STYLE_FILLCOLOR
Defines the key for the fillColor style. The value is a string expression supported by mxUtils.parseColor.- See Also:
mxUtils.parseColor(String)
-
STYLE_GRADIENTCOLOR
public static java.lang.String STYLE_GRADIENTCOLOR
Defines the key for the gradientColor style. The value is a string expression supported by mxUtils.parseColor. This is ignored if no fill color is defined.- See Also:
mxUtils.parseColor(String)
-
STYLE_GRADIENT_DIRECTION
public static java.lang.String STYLE_GRADIENT_DIRECTION
Defines the key for the gradient direction. Possible values areDIRECTION_EAST
,DIRECTION_WEST
,DIRECTION_NORTH
andDIRECTION_SOUTH
. Default isDIRECTION_SOUTH
. Generally, and by default in mxGraph, gradient painting is done from the value ofSTYLE_FILLCOLOR
to the value ofSTYLE_GRADIENTCOLOR
. Taking the example ofDIRECTION_NORTH
, this meansSTYLE_FILLCOLOR
color at the bottom of paint pattern andSTYLE_GRADIENTCOLOR
at top, with a gradient in-between.
-
STYLE_STROKECOLOR
public static java.lang.String STYLE_STROKECOLOR
Defines the key for the strokeColor style. The value is a string expression supported by mxUtils.parseColor.- See Also:
mxUtils.parseColor(String)
-
STYLE_SEPARATORCOLOR
public static java.lang.String STYLE_SEPARATORCOLOR
Defines the key for the separatorColor style. The value is a string expression supported by mxUtils.parseColor. This style is only used for SHAPE_SWIMLANE shapes.- See Also:
mxUtils.parseColor(String)
-
STYLE_STROKEWIDTH
public static java.lang.String STYLE_STROKEWIDTH
Defines the key for the strokeWidth style. The type of the value isfloat
and the possible range is any non-negative value. The value reflects the stroke width in pixels.
-
STYLE_ALIGN
public static java.lang.String STYLE_ALIGN
Defines the key for the align style. Possible values areALIGN_LEFT
,ALIGN_CENTER
andALIGN_RIGHT
. This value defines how the lines of the label are horizontally aligned.ALIGN_LEFT
mean label text lines are aligned to left of the label bounds,ALIGN_RIGHT
to the right of the label bounds andALIGN_CENTER
means the center of the text lines are aligned in the center of the label bounds. Note this value doesn't affect the positioning of the overall label bounds relative to the vertex, to move the label bounds horizontally, useSTYLE_LABEL_POSITION
.
-
STYLE_VERTICAL_ALIGN
public static java.lang.String STYLE_VERTICAL_ALIGN
Defines the key for the verticalAlign style. Possible values areALIGN_TOP
,ALIGN_MIDDLE
andALIGN_BOTTOM
. This value defines how the lines of the label are vertically aligned.ALIGN_TOP
means the topmost label text line is aligned against the top of the label bounds,ALIGN_BOTTOM
means the bottom-most label text line is aligned against the bottom of the label bounds andALIGN_MIDDLE
means there is equal spacing between the topmost text label line and the top of the label bounds and the bottom-most text label line and the bottom of the label bounds. Note this value doesn't affect the positioning of the overall label bounds relative to the vertex, to move the label bounds vertically, useSTYLE_VERTICAL_LABEL_POSITION
.
-
STYLE_LABEL_POSITION
public static java.lang.String STYLE_LABEL_POSITION
Defines the key for the horizontal label position of vertices. Possible values areALIGN_LEFT
,ALIGN_CENTER
andALIGN_RIGHT
. Default isALIGN_CENTER
. The label align defines the position of the label relative to the cell.ALIGN_LEFT
means the entire label bounds is placed completely just to the left of the vertex,ALIGN_RIGHT
means adjust to the right andALIGN_CENTER
means the label bounds are vertically aligned with the bounds of the vertex. Note this value doesn't affect the positioning of label within the label bounds, to move the label horizontally within the label bounds, useSTYLE_ALIGN
.
-
STYLE_VERTICAL_LABEL_POSITION
public static java.lang.String STYLE_VERTICAL_LABEL_POSITION
Defines the key for the vertical label position of vertices. Possible values areALIGN_TOP
,ALIGN_BOTTOM
andALIGN_MIDDLE
. Default isALIGN_MIDDLE
. The label align defines the position of the label relative to the cell.ALIGN_TOP
means the entire label bounds is placed completely just on the top of the vertex,ALIGN_BOTTOM
means adjust on the bottom andALIGN_MIDDLE
means the label bounds are horizontally aligned with the bounds of the vertex. Note this value doesn't affect the positioning of label within the label bounds, to move the label vertically within the label bounds, useSTYLE_VERTICAL_ALIGN
.
-
STYLE_IMAGE_ALIGN
public static java.lang.String STYLE_IMAGE_ALIGN
Defines the key for the align style. Possible values areALIGN_LEFT
,ALIGN_CENTER
andALIGN_RIGHT
. The value defines how any image in the vertex label is aligned horizontally within the label bounds of a SHAPE_LABEL shape.
-
STYLE_IMAGE_VERTICAL_ALIGN
public static java.lang.String STYLE_IMAGE_VERTICAL_ALIGN
Defines the key for the verticalAlign style. Possible values areALIGN_TOP
,ALIGN_MIDDLE
andALIGN_BOTTOM
. The value defines how any image in the vertex label is aligned vertically within the label bounds of a SHAPE_LABEL shape.
-
STYLE_GLASS
public static java.lang.String STYLE_GLASS
Defines the key for the glass style. Possible values are 0 (disabled) and 1(enabled). The default value is 0. This is used in mxLabel.
-
STYLE_IMAGE
public static java.lang.String STYLE_IMAGE
Defines the key for the image style. Possible values are any image URL, registered key in mxImageResources or short data URI as defined in mxImageBundle. The type of the value isString
. This is the path to the image to image that is to be displayed within the label of a vertex. See mxGraphics2DCanvas.getImageForStyle, loadImage and setImageBasePath on how the image URL is resolved. Finally, mxUtils.loadImage is used for loading the image for a given value.
-
STYLE_IMAGE_WIDTH
public static java.lang.String STYLE_IMAGE_WIDTH
Defines the key for the imageWidth style. The type of this value isint
, the value is the image width in pixels and must be greated than 0.
-
STYLE_IMAGE_HEIGHT
public static java.lang.String STYLE_IMAGE_HEIGHT
Defines the key for the imageHeight style The type of this value isint
, the value is the image height in pixels and must be greater than 0.
-
STYLE_IMAGE_BACKGROUND
public static java.lang.String STYLE_IMAGE_BACKGROUND
Defines the key for the image background color. This style is only used for image shapes. Possible values are all HTML color names or HEX codes.
-
STYLE_IMAGE_BORDER
public static java.lang.String STYLE_IMAGE_BORDER
Defines the key for the image border color. This style is only used for image shapes. Possible values are all HTML color names or HEX codes.
-
STYLE_IMAGE_FLIPH
public static java.lang.String STYLE_IMAGE_FLIPH
Defines the key for the horizontal image flip. This style is only used in mxImageShape. Possible values are 0 and 1. Default is 0.
-
STYLE_IMAGE_FLIPV
public static java.lang.String STYLE_IMAGE_FLIPV
Defines the key for the vertical image flip. This style is only used in mxImageShape. Possible values are 0 and 1. Default is 0.
-
STYLE_STENCIL_FLIPH
public static java.lang.String STYLE_STENCIL_FLIPH
Defines the key for the horizontal stencil flip. This style is only used for. Possible values are 0 and 1. Default is 0.
-
STYLE_STENCIL_FLIPV
public static java.lang.String STYLE_STENCIL_FLIPV
Defines the key for the vertical stencil flip. This style is only used for. Possible values are 0 and 1. Default is 0.
-
STYLE_FLIPH
public static java.lang.String STYLE_FLIPH
Defines the key for the horizontal image flip. This style is only used in. Possible values are 0 and 1. Default is 0.
-
STYLE_FLIPV
public static java.lang.String STYLE_FLIPV
Variable: STYLE_FLIPV Defines the key for the vertical flip. Possible values are 0 and 1. Default is 0.
-
STYLE_NOLABEL
public static java.lang.String STYLE_NOLABEL
Defines the key for the noLabel style. If this is true then no label is visible for a given cell. Possible values are true or false (1 or 0). Default is false.
-
STYLE_NOEDGESTYLE
public static java.lang.String STYLE_NOEDGESTYLE
Defines the key for the noEdgeStyle style. If this is true then no edge style is applied for a given edge. Possible values are true or false (1 or 0). Default is false.
-
STYLE_LABEL_BACKGROUNDCOLOR
public static java.lang.String STYLE_LABEL_BACKGROUNDCOLOR
Defines the key for the label background color. The value is a string expression supported by mxUtils.parseColor.- See Also:
mxUtils.parseColor(String)
-
STYLE_LABEL_BORDERCOLOR
public static java.lang.String STYLE_LABEL_BORDERCOLOR
Defines the key for the label border color. The value is a string expression supported by mxUtils.parseColor.- See Also:
mxUtils.parseColor(String)
-
STYLE_INDICATOR_SHAPE
public static java.lang.String STYLE_INDICATOR_SHAPE
Defines the key for the indicatorShape style. Possible values are any of the SHAPE_* constants.
-
STYLE_INDICATOR_IMAGE
public static java.lang.String STYLE_INDICATOR_IMAGE
Defines the key for the indicatorImage style. Possible values are any image URL, the type of the value isString
.
-
STYLE_INDICATOR_COLOR
public static java.lang.String STYLE_INDICATOR_COLOR
Defines the key for the indicatorColor style. The value is a string expression supported by mxUtils.parseColor.- See Also:
mxUtils.parseColor(String)
-
STYLE_INDICATOR_GRADIENTCOLOR
public static java.lang.String STYLE_INDICATOR_GRADIENTCOLOR
Defines the key for the indicatorGradientColor style. The value is a string expression supported by mxUtils.parseColor. This style is only supported in SHAPE_LABEL shapes.- See Also:
mxUtils.parseColor(String)
-
STYLE_INDICATOR_SPACING
public static java.lang.String STYLE_INDICATOR_SPACING
Defines the key for the indicatorSpacing style (in px).
-
STYLE_INDICATOR_WIDTH
public static java.lang.String STYLE_INDICATOR_WIDTH
Defines the key for the indicatorWidth style (in px).
-
STYLE_INDICATOR_HEIGHT
public static java.lang.String STYLE_INDICATOR_HEIGHT
Defines the key for the indicatorHeight style (in px).
-
STYLE_SHADOW
public static java.lang.String STYLE_SHADOW
Defines the key for the shadow style. The type of the value isboolean
. This style applies to vertices and arrow style edges.
-
STYLE_SEGMENT
public static java.lang.String STYLE_SEGMENT
Defines the key for the segment style. The type of this value isfloat
and the value represents the size of the horizontal segment of the entity relation style. Default is ENTITY_SEGMENT.
-
STYLE_ENDARROW
public static java.lang.String STYLE_ENDARROW
Defines the key for the endArrow style. Possible values are all constants in this class that start with ARROW_. This style is supported in themxConnector
shape.
-
STYLE_STARTARROW
public static java.lang.String STYLE_STARTARROW
Defines the key for the startArrow style. Possible values are all constants in this class that start with ARROW_. See STYLE_ENDARROW. This style is supported in the mxConnector shape.
-
STYLE_ENDSIZE
public static java.lang.String STYLE_ENDSIZE
Defines the key for the endSize style. The type of this value isfloat
and the value represents the size of the end marker in pixels.
-
STYLE_STARTSIZE
public static java.lang.String STYLE_STARTSIZE
Defines the key for the startSize style. The type of this value isfloat
and the value represents the size of the start marker or the size of the swimlane title region depending on the shape it is used for.
-
STYLE_SWIMLANE_LINE
public static java.lang.String STYLE_SWIMLANE_LINE
Defines the key for the swimlaneLine style. This style specifies whether the line between the title regio of a swimlane should be visible. Use 0 for hidden or 1 (default) for visible. Value is "swimlaneLine".
-
STYLE_ENDFILL
public static java.lang.String STYLE_ENDFILL
Defines the key for the endFill style. Use 0 for no fill or 1 (default) for fill. (This style is only exported via.)
-
STYLE_STARTFILL
public static java.lang.String STYLE_STARTFILL
Defines the key for the startFill style. Use 0 for no fill or 1 (default) for fill. (This style is only exported via.)
-
STYLE_DASHED
public static java.lang.String STYLE_DASHED
Defines the key for the dashed style. The type of this value isboolean
and the value determines whether or not an edge or border is drawn with a dashed pattern along the line.
-
STYLE_DASH_PATTERN
public static java.lang.String STYLE_DASH_PATTERN
Defines the key for the dashed pattern style. The type of this value isfloat[]
and the value specifies the dashed pattern to apply to edges drawn with this style. This style allows the user to specify a custom-defined dash pattern. This is done using a series of numbers. Dash styles are defined in terms of the length of the dash (the drawn part of the stroke) and the length of the space between the dashes. The lengths are relative to the line width: a length of "1" is equal to the line width.
-
STYLE_ROUNDED
public static java.lang.String STYLE_ROUNDED
Defines the key for the rounded style. The type of this value isboolean
. For edges this determines whether or not joins between edges segments are smoothed to a rounded finish. For vertices that have the rectangle shape, this determines whether or not the rectangle is rounded.
-
STYLE_ARCSIZE
public static java.lang.String STYLE_ARCSIZE
Defines the rounding factor for a rounded rectangle in percent (without the percent sign). Possible values are between 0 and 100. If this value is not specified then RECTANGLE_ROUNDING_FACTOR * 100 is used. For edges, this defines the absolute size of rounded corners in pixels. If this values is not specified then LINE_ARCSIZE is used. (This style is only exported via.) Value is "arcSize".
-
STYLE_SOURCE_PERIMETER_SPACING
public static java.lang.String STYLE_SOURCE_PERIMETER_SPACING
Defines the key for the source perimeter spacing. The type of this value isdouble
. This is the distance between the source connection point of an edge and the perimeter of the source vertex in pixels. This style only applies to edges.
-
STYLE_TARGET_PERIMETER_SPACING
public static java.lang.String STYLE_TARGET_PERIMETER_SPACING
Defines the key for the target perimeter spacing. The type of this value isdouble
. This is the distance between the target connection point of an edge and the perimeter of the target vertex in pixels. This style only applies to edges.
-
STYLE_PERIMETER_SPACING
public static java.lang.String STYLE_PERIMETER_SPACING
Defines the key for the perimeter spacing. This is the distance between the connection point and the perimeter in pixels. When used in a vertex style, this applies to all incoming edges to floating ports (edges that terminate on the perimeter of the vertex). When used in an edge style, this spacing applies to the source and target separately, if they terminate in floating ports (on the perimeter of the vertex).
-
STYLE_SPACING
public static java.lang.String STYLE_SPACING
Defines the key for the spacing. The value represents the spacing, in pixels, added to each side of a label in a vertex (style applies to vertices only).
-
STYLE_SPACING_TOP
public static java.lang.String STYLE_SPACING_TOP
Defines the key for the spacingTop style. The value represents the spacing, in pixels, added to the top side of a label in a vertex (style applies to vertices only).
-
STYLE_SPACING_LEFT
public static java.lang.String STYLE_SPACING_LEFT
Defines the key for the spacingLeft style. The value represents the spacing, in pixels, added to the left side of a label in a vertex (style applies to vertices only).
-
STYLE_SPACING_BOTTOM
public static java.lang.String STYLE_SPACING_BOTTOM
Defines the key for the spacingBottom style The value represents the spacing, in pixels, added to the bottom side of a label in a vertex (style applies to vertices only).
-
STYLE_SPACING_RIGHT
public static java.lang.String STYLE_SPACING_RIGHT
Defines the key for the spacingRight style The value represents the spacing, in pixels, added to the right side of a label in a vertex (style applies to vertices only).
-
STYLE_HORIZONTAL
public static java.lang.String STYLE_HORIZONTAL
Defines the key for the horizontal style. Possible values aretrue
orfalse
. This value only applies to vertices. If theSTYLE_SHAPE
isSHAPE_SWIMLANE
a value offalse
indicates that the swimlane should be drawn vertically,true
indicates to draw it horizontally. If the shape style does not indicate that this vertex is a swimlane, this value affects only whether the label is drawn horizontally or vertically.
-
STYLE_DIRECTION
public static java.lang.String STYLE_DIRECTION
Defines the key for the direction style. The direction style is used to specify the direction of certain shapes (eg.mxTriangle
). Possible values areDIRECTION_EAST
(default),DIRECTION_WEST
,DIRECTION_NORTH
andDIRECTION_SOUTH
. This value only applies to vertices.
-
STYLE_ELBOW
public static java.lang.String STYLE_ELBOW
Defines the key for the elbow style. Possible values areELBOW_HORIZONTAL
andELBOW_VERTICAL
. Default isELBOW_HORIZONTAL
. This defines how the three segment orthogonal edge style leaves its terminal vertices. The vertical style leaves the terminal vertices at the top and bottom sides.
-
STYLE_FONTCOLOR
public static java.lang.String STYLE_FONTCOLOR
Defines the key for the fontColor style. The value is typeString
and of the expression supported by mxUtils.parseColor.- See Also:
mxUtils.parseColor(String)
-
STYLE_FONTFAMILY
public static java.lang.String STYLE_FONTFAMILY
Defines the key for the fontFamily style. Possible values are names such as Arial; Dialog; Verdana; Times New Roman. The value is of typeString
.
-
STYLE_FONTSIZE
public static java.lang.String STYLE_FONTSIZE
Defines the key for the fontSize style (in px). The type of the value isint
.
-
STYLE_FONTSTYLE
public static java.lang.String STYLE_FONTSTYLE
Defines the key for the fontStyle style. Values may be any logical AND (sum) of FONT_BOLD, FONT_ITALIC and FONT_UNDERLINE. The type of the value isint
.
-
STYLE_AUTOSIZE
public static java.lang.String STYLE_AUTOSIZE
Defines the key for the autosize style. This specifies if a cell should be resized automatically if the value has changed. Possible values are 0 or 1. Default is 0. See mxGraph.isAutoSizeCell. This is normally combined with STYLE_RESIZABLE to disable manual sizing.
-
STYLE_FOLDABLE
public static java.lang.String STYLE_FOLDABLE
Defines the key for the foldable style. This specifies if a cell is foldable using a folding icon. Possible values are 0 or 1. Default is 1. See mxGraph.isCellFoldable.
-
STYLE_EDITABLE
public static java.lang.String STYLE_EDITABLE
Defines the key for the editable style. This specifies if the value of a cell can be edited using the in-place editor. Possible values are 0 or 1. Default is 1. See mxGraph.isCellEditable.
-
STYLE_BENDABLE
public static java.lang.String STYLE_BENDABLE
Defines the key for the bendable style. This specifies if the control points of an edge can be moved. Possible values are 0 or 1. Default is 1. See mxGraph.isCellBendable.
-
STYLE_MOVABLE
public static java.lang.String STYLE_MOVABLE
Defines the key for the movable style. This specifies if a cell can be moved. Possible values are 0 or 1. Default is 1. See mxGraph.isCellMovable.
-
STYLE_RESIZABLE
public static java.lang.String STYLE_RESIZABLE
Defines the key for the resizable style. This specifies if a cell can be resized. Possible values are 0 or 1. Default is 1. See mxGraph.isCellResizable.
-
STYLE_CLONEABLE
public static java.lang.String STYLE_CLONEABLE
Defines the key for the cloneable style. This specifies if a cell can be cloned. Possible values are 0 or 1. Default is 1. See mxGraph.isCellCloneable.
-
STYLE_DELETABLE
public static java.lang.String STYLE_DELETABLE
Defines the key for the deletable style. This specifies if a cell can be deleted. Possible values are 0 or 1. Default is 1. See mxGraph.isCellDeletable.
-
STYLE_SHAPE
public static java.lang.String STYLE_SHAPE
Defines the key for the shape style. Possible values are any of the SHAPE_* constants.
-
STYLE_EDGE
public static java.lang.String STYLE_EDGE
Takes a function that creates points. Possible values are the functions defined in mxEdgeStyle.
-
STYLE_LOOP
public static java.lang.String STYLE_LOOP
Defines the key for the loop style. Possible values are the functions defined in mxEdgeStyle.
-
STYLE_ROUTING_CENTER_X
public static java.lang.String STYLE_ROUTING_CENTER_X
Defines the key for the horizontal routing center. Possible values are between -0.5 and 0.5. This is the relative offset from the center used for connecting edges. The type of this value isfloat
.
-
STYLE_ROUTING_CENTER_Y
public static java.lang.String STYLE_ROUTING_CENTER_Y
Defines the key for the vertical routing center. Possible values are between -0.5 and 0.5. This is the relative offset from the center used for connecting edges. The type of this value isfloat
.
-
FONT_BOLD
public static final int FONT_BOLD
FONT_BOLD- See Also:
- Constant Field Values
-
FONT_ITALIC
public static final int FONT_ITALIC
FONT_ITALIC- See Also:
- Constant Field Values
-
FONT_UNDERLINE
public static final int FONT_UNDERLINE
FONT_UNDERLINE- See Also:
- Constant Field Values
-
FONT_STRIKETHROUGH
public static final int FONT_STRIKETHROUGH
FONT_STRIKETHROUGH- See Also:
- Constant Field Values
-
SHAPE_RECTANGLE
public static final java.lang.String SHAPE_RECTANGLE
SHAPE_RECTANGLE- See Also:
- Constant Field Values
-
SHAPE_ELLIPSE
public static final java.lang.String SHAPE_ELLIPSE
SHAPE_ELLIPSE- See Also:
- Constant Field Values
-
SHAPE_DOUBLE_RECTANGLE
public static final java.lang.String SHAPE_DOUBLE_RECTANGLE
SHAPE_DOUBLE_RECTANGLE- See Also:
- Constant Field Values
-
SHAPE_DOUBLE_ELLIPSE
public static final java.lang.String SHAPE_DOUBLE_ELLIPSE
SHAPE_DOUBLE_ELLIPSE- See Also:
- Constant Field Values
-
SHAPE_RHOMBUS
public static final java.lang.String SHAPE_RHOMBUS
SHAPE_RHOMBUS- See Also:
- Constant Field Values
-
SHAPE_LINE
public static final java.lang.String SHAPE_LINE
SHAPE_LINE- See Also:
- Constant Field Values
-
SHAPE_IMAGE
public static final java.lang.String SHAPE_IMAGE
SHAPE_IMAGE- See Also:
- Constant Field Values
-
SHAPE_ARROW
public static final java.lang.String SHAPE_ARROW
SHAPE_ARROW- See Also:
- Constant Field Values
-
SHAPE_CURVE
public static final java.lang.String SHAPE_CURVE
SHAPE_ARROW- See Also:
- Constant Field Values
-
SHAPE_LABEL
public static final java.lang.String SHAPE_LABEL
SHAPE_LABEL- See Also:
- Constant Field Values
-
SHAPE_CYLINDER
public static final java.lang.String SHAPE_CYLINDER
SHAPE_CYLINDER- See Also:
- Constant Field Values
-
SHAPE_SWIMLANE
public static final java.lang.String SHAPE_SWIMLANE
SHAPE_SWIMLANE- See Also:
- Constant Field Values
-
SHAPE_CONNECTOR
public static final java.lang.String SHAPE_CONNECTOR
SHAPE_CONNECTOR- See Also:
- Constant Field Values
-
SHAPE_ACTOR
public static final java.lang.String SHAPE_ACTOR
SHAPE_ACTOR- See Also:
- Constant Field Values
-
SHAPE_CLOUD
public static final java.lang.String SHAPE_CLOUD
SHAPE_CLOUD- See Also:
- Constant Field Values
-
SHAPE_TRIANGLE
public static final java.lang.String SHAPE_TRIANGLE
SHAPE_TRIANGLE- See Also:
- Constant Field Values
-
SHAPE_HEXAGON
public static final java.lang.String SHAPE_HEXAGON
SHAPE_HEXAGON- See Also:
- Constant Field Values
-
ARROW_CLASSIC
public static final java.lang.String ARROW_CLASSIC
ARROW_CLASSIC- See Also:
- Constant Field Values
-
ARROW_BLOCK
public static final java.lang.String ARROW_BLOCK
ARROW_BLOCK- See Also:
- Constant Field Values
-
ARROW_OPEN
public static final java.lang.String ARROW_OPEN
ARROW_OPEN- See Also:
- Constant Field Values
-
ARROW_OVAL
public static final java.lang.String ARROW_OVAL
ARROW_BLOCK- See Also:
- Constant Field Values
-
ARROW_DIAMOND
public static final java.lang.String ARROW_DIAMOND
ARROW_OPEN- See Also:
- Constant Field Values
-
ALIGN_LEFT
public static final java.lang.String ALIGN_LEFT
ALIGN_LEFT- See Also:
- Constant Field Values
-
ALIGN_CENTER
public static final java.lang.String ALIGN_CENTER
ALIGN_CENTER- See Also:
- Constant Field Values
-
ALIGN_RIGHT
public static final java.lang.String ALIGN_RIGHT
ALIGN_RIGHT- See Also:
- Constant Field Values
-
ALIGN_TOP
public static final java.lang.String ALIGN_TOP
ALIGN_TOP- See Also:
- Constant Field Values
-
ALIGN_MIDDLE
public static final java.lang.String ALIGN_MIDDLE
ALIGN_MIDDLE- See Also:
- Constant Field Values
-
ALIGN_BOTTOM
public static final java.lang.String ALIGN_BOTTOM
ALIGN_BOTTOM- See Also:
- Constant Field Values
-
DIRECTION_NORTH
public static final java.lang.String DIRECTION_NORTH
DIRECTION_NORTH- See Also:
- Constant Field Values
-
DIRECTION_SOUTH
public static final java.lang.String DIRECTION_SOUTH
DIRECTION_SOUTH- See Also:
- Constant Field Values
-
DIRECTION_EAST
public static final java.lang.String DIRECTION_EAST
DIRECTION_EAST- See Also:
- Constant Field Values
-
DIRECTION_WEST
public static final java.lang.String DIRECTION_WEST
DIRECTION_WEST- See Also:
- Constant Field Values
-
DIRECTION_MASK_NONE
public static final int DIRECTION_MASK_NONE
DIRECTION_MASK_NONE- See Also:
- Constant Field Values
-
DIRECTION_MASK_WEST
public static final int DIRECTION_MASK_WEST
DIRECTION_MASK_WEST- See Also:
- Constant Field Values
-
DIRECTION_MASK_NORTH
public static final int DIRECTION_MASK_NORTH
DIRECTION_MASK_NORTH- See Also:
- Constant Field Values
-
DIRECTION_MASK_SOUTH
public static final int DIRECTION_MASK_SOUTH
DIRECTION_MASK_SOUTH- See Also:
- Constant Field Values
-
DIRECTION_MASK_EAST
public static final int DIRECTION_MASK_EAST
DIRECTION_MASK_EAST- See Also:
- Constant Field Values
-
DIRECTION_MASK_ALL
public static final int DIRECTION_MASK_ALL
DIRECTION_MASK_EAST- See Also:
- Constant Field Values
-
ELBOW_VERTICAL
public static final java.lang.String ELBOW_VERTICAL
ELBOW_VERTICAL- See Also:
- Constant Field Values
-
ELBOW_HORIZONTAL
public static final java.lang.String ELBOW_HORIZONTAL
ELBOW_HORIZONTAL- See Also:
- Constant Field Values
-
EDGESTYLE_ELBOW
public static final java.lang.String EDGESTYLE_ELBOW
Name of the elbow edge style. Can be used as a string value for the STYLE_EDGE style.- See Also:
- Constant Field Values
-
EDGESTYLE_ENTITY_RELATION
public static final java.lang.String EDGESTYLE_ENTITY_RELATION
Name of the entity relation edge style. Can be used as a string value for the STYLE_EDGE style.- See Also:
- Constant Field Values
-
EDGESTYLE_LOOP
public static final java.lang.String EDGESTYLE_LOOP
Name of the loop edge style. Can be used as a string value for the STYLE_EDGE style.- See Also:
- Constant Field Values
-
EDGESTYLE_SIDETOSIDE
public static final java.lang.String EDGESTYLE_SIDETOSIDE
Name of the side to side edge style. Can be used as a string value for the STYLE_EDGE style.- See Also:
- Constant Field Values
-
EDGESTYLE_TOPTOBOTTOM
public static final java.lang.String EDGESTYLE_TOPTOBOTTOM
Name of the top to bottom edge style. Can be used as a string value for the STYLE_EDGE style.- See Also:
- Constant Field Values
-
EDGESTYLE_ORTHOGONAL
public static final java.lang.String EDGESTYLE_ORTHOGONAL
Name of the orthogonal edge style. Can be used as a string value for the STYLE_EDGE style.- See Also:
- Constant Field Values
-
EDGESTYLE_SEGMENT
public static final java.lang.String EDGESTYLE_SEGMENT
Name of the generic segment edge style. Can be used as a string value for the STYLE_EDGE style.- See Also:
- Constant Field Values
-
PERIMETER_ELLIPSE
public static final java.lang.String PERIMETER_ELLIPSE
Name of the ellipse perimeter. Can be used as a string value for the STYLE_PERIMETER style.- See Also:
- Constant Field Values
-
PERIMETER_RECTANGLE
public static final java.lang.String PERIMETER_RECTANGLE
Name of the rectangle perimeter. Can be used as a string value for the STYLE_PERIMETER style.- See Also:
- Constant Field Values
-
PERIMETER_RHOMBUS
public static final java.lang.String PERIMETER_RHOMBUS
Name of the rhombus perimeter. Can be used as a string value for the STYLE_PERIMETER style.- See Also:
- Constant Field Values
-
PERIMETER_TRIANGLE
public static final java.lang.String PERIMETER_TRIANGLE
Name of the triangle perimeter. Can be used as a string value for the STYLE_PERIMETER style.- See Also:
- Constant Field Values
-
PERIMETER_HEXAGON
public static final java.lang.String PERIMETER_HEXAGON
Name of the hexagon perimeter. Can be used as a string value for the STYLE_PERIMETER style.- See Also:
- Constant Field Values
-
-


--- layout: example permalink: /examples/ace/ exampleId: ace stylesheets: -<EMAIL_ADDRESS>- /examples/ace/ace.css overview: |- This example demonstrates building a realtime source code editor with the Ace Editor. This example uses the Ace Collaborative Extensions to add in remote cursors, selections, and a Radar View that shows where other users are editing. ---


Ahoy!
Stranded member of the
PURPLE
team, enter your outline!
Claim 1
Evidence 1
Evidence 2
Close Call Evidence
(evidence that somewhat supports your point, but not compellingly)
Red Herring Evidence
(evidence that does not support your point, at all!)
Claim 2
Evidence 1
Evidence 2
Close Call Evidence
(evidence that somewhat supports your point, but not compellingly)
Red Herring Evidence
(evidence that does not support your point, at all!)
Submit


Please help us to improve our database
Did you receive your Vaccine?
If the answer is "Yes", which vaccine did you have?
Did you receive the first dose only or both?
Are you willing to travel again? (Check all that apply)
Any comments or suggestions?


i used this to play the PS1 boot screen at startup every time, is pretty cool
- make a .bat file
- depending on video player put this in .bat file:
- for VLC:
"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" <filename> -f --play-and-exit --no-one-instance --mouse-hide-timeout=1 --video-on-top --no-video-title-show
- for MPC-HC:
"C:\Program Files (x86)\MPC-HC\mpc-hc.exe" <filename> /play /close /fullscreen /new
- for VLC:
- create a shortcut for the .bat file and put it in
C:\Users\<user>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
- it should work and to skip it click as soon as it pops up, then ESC, ALT+F4


IDCError
enum IDCError {}
Represent different errors that might occur in IdCloud client operations.
@since 1.0.0
-
The user cancels the operation.
Declaration
Objective-C
IDCErrorUserCancelled = 0x01
-
The user failed to authenticate, for example wrong fingerprint, wrong PIN.
Declaration
Objective-C
IDCErrorAccessDenied = 0x02
-
The operation failed because the user is locked out of the authenticator.
Declaration
Objective-C
IDCErrorUserLockout = 0x04
-
The operation failed because of unexpected error in the underlying authentication.
Declaration
Objective-C
IDCErrorOperation = 0x05
-
Failed in storage access.
Declaration
Objective-C
IDCErrorStorage = 0x06
-
Failed in network access.
Declaration
Objective-C
IDCErrorTransport = 0x07
-
Server response is invalid.
Declaration
Objective-C
IDCErrorServerResponse = 0x08
-
Server response has no pending specified event.
Declaration
Objective-C
IDCErrorNoPendingEvents = 0x09
-
User is not enrolled.
Declaration
Objective-C
IDCErrorUserNotEnrolled = 0x0A
-
Enrollment credential is not valid. Please ensure the correct enrollment credential provided.
Declaration
Objective-C
IDCErrorEnrollmentCredentialInvalid = 0x0B
-
All available authenticators have been added/enrolled. Please ensure that your other authenticators are properly set up.
Declaration
Objective-C
IDCErrorNoAvailableAuthenticators = 0x0C
-
Authenticator cannot be removed as there are no other authenticators enrolled.
Declaration
Objective-C
IDCErrorAuthenticatorRemovalNotAllowed = 0x0D


--- layout: tweet ---
Working from home... must... make... coffee....
2/24/2009, 9:23:02 AM
Favs: 0
Retweets: 0


Use the mouse to select the color that you want to know the name.
Click on the button to get the name of the selected color.
Not all colors have a name. It will only show those who are close enough.


--- layout: page title: "Atom Publishing Protocol (AtomPub)" description: "The Atom Publishing Protocol (AtomPub) is an application-level protocol for publishing and editing Web resources. The protocol is based on HTTP transfer of Atom-formatted representations. The Atom format is documented in the Atom Syndication Format." ---
| Document Name: | RFC 5023 |
|---|---|
| Document URI: |
urn:ietf:rfc:5023
|
| Online Version: |
https://datatracker.ietf.org/doc/html/rfc5023
|
| Organization: | Internet Engineering Task Force (IETF) |
| Series: | Request for Comments (RFC) |
| Abstract: | The Atom Publishing Protocol (AtomPub) is an application-level protocol for publishing and editing Web resources. The protocol is based on HTTP transfer of Atom-formatted representations. The Atom format is documented in the Atom Syndication Format. |
Slug
edit
,
edit-media
application/atomcat+xml
,
application/atomsvc+xml
Return to ( Series | Organization | all Specifications )


Chandler and Monica reunite: ‘Friends’ stars Matthew Perry and Courteney Cox post rare selfie
The stars of the sitcom have been spending a lot of time with each other recently
Friends stars Chandler and Monica have reunited in a new selfie posted to Instagram by Courteney Cox.
Cox poses with with co-star Matthew Perry in the photo, the latest of a series of recent reunions between Friends stars. See it below.
- Read more: 11 of the wildest Friends fan theories
The pair’s Friends co-stars then got involved in the comments of the post, with Lisa Kudrow (Phoebe) saying: “Lucky lucky. #beautifulpeople” before Jennifer Aniston (Rachel) added: “MATTY!! I LOVE YOU, GUYS.”
Aniston recently sparked rumours of a Friends reunion, saying she was “working on something” with her fellow cast members.
Speculation was initially fuelled among fans that a TV reunion could be on the cards after Aniston shared a picture of the six primary castmembers together again as her first post on Instagram.
The cast of ‘Friends’
Aniston has been asked about Friends in a number of interviews recently, including one where she was asked for her take on what might have happened to Rachel and Ross after the events of the Friends finale.
“It wasn’t so much about women being paid the same as men – some of the women were being paid more,” she said. “It was more about, ‘We’re doing equal work and we all deserve to be compensated in the same way.’ I wouldn’t feel good going to work knowing someone was getting x amount and I was getting something greater.”
Aniston has also revealed why she thinks a Friends movie will never happen.


--- layout: page title: Batch Processing (OData Version 3.0) date: 2014-02-20 08:11:24.000000000 +08:00 permalink: /documentation/odata-version-3-0/batch-processing/ ---
The OData protocol defines a way to query and manipulate data (described using an EDM model) using a simple set of operations. This document builds on the ‘Interaction Semantics’ section of the core OData specification document and describes how an OData implementation MAY support executing multiple operations sent in a single HTTP request through the use of Batching. This document covers both how Batch operations are represented and processed.
Unless otherwise specified, the contents of this document is defined as part of OData version 1.
Batch requests allow grouping multiple operations, as described in [OData:Core], into a single HTTP request payload. A batch request MUST be represented as a Multipart MIME v1.0 message [RFC2046], a standard format allowing the representation of multiple parts, each of which may have a different content type (as described in [OData:Atom], [OData:JSON] and [OData:JSONVerbose]), within a single request.
Batch requests MUST be submitted as a single HTTP POST request to the batch endpoint of a service, which MUST be located at the URI <Service Root URI>/$batch. Service Root URIs are defined in [OData:Core].
The batch request MUST contain a Content-Type header specifying a content type of “multipart/mixed” and a boundary specification as defined in [RFC2046]. <Batch Request Body> is defined in the Batch Request Body section below.
POST /service/$batch HTTP/1.1
Host: odata.org
DataServiceVersion: 1.0
MaxDataServiceVersion: 3.0
Content-Type: multipart/mixed; boundary=batch_36522ad7-fc75-4b56-8c71-56071383e77b
<Batch Request Body>
As shown in the example above and, as described in the Versioning section of [OData: Core], batch requests SHOULD contain applicable DataServiceVersion headers.
Finally, batch requests MUST NOT include an X-HTTP-Method header (i.e. use POST tunelling) as batch requests are by definition POST only.
The body of a batch request MUST be made up of an ordered series of query operations and/or ChangeSets. A query operation in the context of a batch request is either a query or Function invocation request as described in [OData:Core]. A ChangeSet is an atomic unit of work consisting of an unordered group of one or more of the insert/update/delete operations, Action invocations or Service Operation invocations described in [OData:Core]. ChangeSets MUST NOT contain query operations and MUST NOT be nested (i.e. a ChangeSet cannot contain a ChangeSet).
In a batch request body, each query operation and ChangeSet MUST be represented as a distinct MIME part (i.e. is separated by the boundary defined in the Content-Type header). A MIME part representing a query operation MUST include a Content-Type header with value “application/http” and a Content-Transfer-Encoding“ header with value ”binary". The contents of a MIME part representing a ChangeSet MUST itself be a multipart MIME document (see [RFC2046]) with one part for each operation that makes up the ChangeSet. Each part represnting an operation in the ChangeSet MUST include the same headers (Content-Type and Content-Transfer-Encoding) and associated values as previously described for query operations.
Preambles and Epilogues in the MIME payload, as defined in [RFC2046], are valid but MUST are assigned no meaning and thus MUST be ignored by processors of batch requests.
Each MIME part body which represents a single request SHOULD NOT:
Processors of batch requests MAY choose to disallow additional HTTP constructs in HTTP requests serialized within MIME part bodies. For example, a processor MAY choose to disallow chunked encoding to be used by such HTTP requests.
The example below shows a sample batch request that contains the following operations in the order listed:
POST /service/$batch HTTP/1.1
Host: host
Content-Type: multipart/mixed; boundary=batch_36522ad7-fc75-4b56-8c71-56071383e77b
--batch_36522ad7-fc75-4b56-8c71-56071383e77b
Content-Type: application/http
Content-Transfer-Encoding:binary
GET /service/Customers('ALFKI')
Host: host
--batch_36522ad7-fc75-4b56-8c71-56071383e77b
Content-Type: multipart/mixed; boundary=changeset_77162fcd-b8da-41ac-a9f8-9357efbbd621
Content-Length: ###
--changeset_77162fcd-b8da-41ac-a9f8-9357efbbd621
Content-Type: application/http
Content-Transfer-Encoding: binary
POST /service/Customers HTTP/1.1
Host: host
Content-Type: application/atom+xml;type=entry
Content-Length: ###
<AtomPub representation of a new Customer>
--changeset_77162fcd-b8da-41ac-a9f8-9357efbbd621
Content-Type: application/http
Content-Transfer-Encoding:binary
PUT /service/Customers('ALFKI') HTTP/1.1
Host: host
Content-Type: application/json
If-Match: xxxxx
Content-Length: ###
<JSON representation of Customer ALFKI>
--changeset_77162fcd-b8da-41ac-a9f8-9357efbbd621--
--batch_36522ad7-fc75-4b56-8c71-56071383e77b
Content-Type: application/http
Content-Transfer-Encoding:binary
GET service/Products HTTP/1.1
Host: host
--batch_36522ad7-fc75-4b56-8c71-56071383e77b--
Note: For brevity, in the example, request bodies are excluded in favor of English descriptions inside ‘<>’ brackets and DataServiceVersion headers are omitted.
If a MIME part representing an Insert request within a ChangeSet includes a Content-ID header, then the new entity represented by that part may be referenced by subsequent requests within the same ChangeSet by referring to the Content-ID value prefixed with a “$” character. When used in this way, $<contentIdValue> acts as an alias for the URI that identifies the new entity.
The example below shows a sample batch request that contains the following operations in the order listed:
POST /service/$batch HTTP/1.1
Host: host
Content-Type: multipart/mixed; boundary=batch_36522ad7-fc75-4b56-8c71-56071383e77b
--batch_36522ad7-fc75-4b56-8c71-56071383e77b
Content-Type: multipart/mixed; boundary=changeset_77162fcd-b8da-41ac-a9f8-9357efbbd621
Content-Length: ###
--changeset_77162fcd-b8da-41ac-a9f8-9357efbbd621
Content-Type: application/http
Content-Transfer-Encoding: binary
Content-ID: 1
POST /service/Customers HTTP/1.1
Host: host
Content-Type: application/atom+xml;type=entry
Content-Length: ###
<AtomPub representation of a new Customer>
--changeset_77162fcd-b8da-41ac-a9f8-9357efbbd621
Content-Type: application/http
Content-Transfer-Encoding: binary
POST $1/Orders HTTP/1.1
Host: host
Content-Type: application/atom+xml;type=entry
Content-Length: ###
<AtomPub representation of a new Order>
--changeset_77162fcd-b8da-41ac-a9f8-9357efbbd621--
--batch_36522ad7-fc75-4b56-8c71-56071383e77b--
Requests within a batch MUST be evaluated according to the same semantics used when the request appears outside the context of a batch.
The order of ChangeSets and query operations in a Batch request is significant as a service MUST process the components of the Batch in the order received. The order of requests within a ChangeSet is not significant as a service MAY process the requests within a ChangeSet in any order.
All operations in a ChangeSet represent a single change unit so a service MUST successfully process and apply all the requests in the ChangeSet or else apply none of them. It is up to the service implementation to define rollback semantics to undo any requests within a ChangeSet that may have been applied before another request in that same ChangeSet failed and thereby honor this all-or-nothing requirement.
If the set of request headers of a Batch request are valid (the Content-Type is set to multipart/mixed, etc) the service MUST return a 202 Accepted HTTP response code to indicate that the request was accepted for processing, but the processing yet to be completed. The requests within the body of the batch may subsequently fail or be malformed; however, this enables batch implementatios to stream the results.
If the service receives a Batch request with an invalid set of headers it MUST return a 4xx response code and perform no further processing of the request.
A response to a batch request MUST contain a Content-Type header with value ‘multipart/mixed’.
Structurally, a batch response body MUST match one-to-one with the corresponding batch request body, such that the same multipart MIME message structure defined for requests is used for responses. The exception to this rule is that when a request within a Change Set fails, the Change Set response is not represented using the multipart/mixed media type. Instead, a single response, using the “application/http” media type and a Content-Transfer-Encoding header with a value of “binary”, is returned that applies to all requests in the Change Set and MUST be formatted according to the Error Handling section of [OData:Core].
Finally, a response to a query operation in a batch MUST be formatted exactly as it would have appeared outside of a batch as described in Querying Data section of [OData:Core].
For example, referencing the batch request in section 2.2, assume all the requests except the final query request succeed. In this case the response would be as shown in the following example.
HTTP/1.1 202 Accepted
DataServiceVersion: 1.0
Content-Length: ####
Content-Type: multipart/mixed; boundary=batch_36522ad7-fc75-4b56-8c71-56071383e77b
--batch_36522ad7-fc75-4b56-8c71-56071383e77b
Content-Type: application/http
Content-Transfer-Encoding: binary
HTTP/1.1 200 Ok
Content-Type: application/atom+xml;type=entry
Content-Length: ###
<AtomPub representation of the Customer entity with EntityKey ALFKI>
--batch_36522ad7-fc75-4b56-8c71-56071383e77b
Content-Type: multipart/mixed; boundary=changeset_77162fcd-b8da-41ac-a9f8-9357efbbd621
Content-Length: ###
--changeset_77162fcd-b8da-41ac-a9f8-9357efbbd621
Content-Type: application/http
Content-Transfer-Encoding: binary
HTTP/1.1 201 Created
Content-Type: application/atom+xml;type=entry
Location: http://host/service.svc/Customer('POIUY')
Content-Length: ###
<AtomPub representation of a new Customer entity>
--changeset_77162fcd-b8da-41ac-a9f8-9357efbbd621
Content-Type: application/http
Content-Transfer-Encoding: binary
HTTP/1.1 204 No Content
Host: host
--changeset_77162fcd-b8da-41ac-a9f8-9357efbbd621--
--batch_36522ad7-fc75-4b56-8c71-56071383e77b
Content-Type: application/http
Content-Transfer-Encoding: binary
HTTP/1.1 404 Not Found
Content-Type: application/xml
Content-Length: ###
<Error message>
--batch_36522ad7-fc75-4b56-8c71-56071383e77b--


Utopian.io empowers Open Source by connecting open source projects with professional contributors and facilitating contributor rewards. Whether you are a developer, content creator or just a creative mind, Utopian.io is here to help you succeed and improve as is evident by the many Steem apps and contributors succeeding on this blockchain through collaboration and contributor incentives through Utopian.io.
With the vision of bringing millions of bright minds together, Utopian continues to incentivise and expand collaborations. Today, we bring you a world of new opportunities and contribution incentives, powered by @steem-ua, @steem-plus, steeditor.app and others.
@steem-ua - A New Reputation Standard
@steem-ua, run by seasoned Utopian.io contributors @scipio and @holger80, aims to provide an alternative to the current reputation system on the Steem blockchain (which is known to have flaws). With their hard work, these two geniuses quickly brought to life the early version of @steem-ua. We, in Utopian are proud to be among the first testers of such innovative project and gain access to the UA-API as one of the first UA Registered Partners.
As of today, @steem-ua will upvote scored contributions in Utopian using the @steem-ua algorithms and dynamics. You can read more about it here: https://steemit.com/@steem-ua.
Essentially, submitting quality open source contributions to Utopian now will guarantee access to @steem-ua incentives without requiring registration to the Steem-UA services via delegation.
To help grow both @steem-ua and incentivize contributors to excel, Utopian.io is delegating 18,000 SP to support @steem-ua, bringing the total stake delegated to the account to over 136,000 SP at the time of writing.
We are excited and grateful to be part of this important project, and once again thank @scipio and @holger80 for launching this initiative.
Increase in Max Category Upvote Caps
With the changes in Steem market price and incoming delegation volume, we are still eager to incentivize and encourage open source contributions across all categories. To ensure this, the maximal upvote percentage for all categories will be raised until further notice.
| Category | Max Cap |
| suggestions | 30% |
| development | 70% |
| bug-hunting | 30% |
| translations | 55% |
| graphics | 50% |
| analysis | 60% |
| social | 40% |
| documentation | 40% |
| tutorials | 40% |
| video-tutorials | 50% |
| copywriting | 40% |
| blog | 40% |
| task requests | 10% |
Note that these values may change in the future, and we will be sure to update you in advance.
Support Utopian and Get Higher Contribution Post Payouts
You can help support our growth and get up to 20% more on your upvote value! How? By setting @utopian.pay as a beneficiary of 5% or more on your Utopian contributions. Our voting system will not only ensure you get that value back, but will also award you a higher payout for your support of Utopian.io through post beneficiaries.
As of today, we’ve doubled the added supporter incentive from 10% on the original score value, to 20%.
You can do this by using @Steem-Plus or Steeditor.app to submit your contribution.
Community Manager and Moderator Content Writing Incentives
With the public beta release of Utopian v2 closer than ever it’s time to start preparing the content to compliment that platform and begin outlining our community knowledge base. And who is better to tackle such a challenge than our team of professional community managers and moderators?
Currently, the majority of valuable information for Utopian.io contributors is scattered around the blockchain in posts and comments, and much of the experience and knowledge of community managers and moderators remain unshared.
We want to change that, and incentivize our team to share their expertise and experience with you.
We are looking for well-written posts to be written by community managers and moderators, that can be of use and benefit to the community as well as, potentially, integrated into the knowledge base of Utopian v2.
Among others, we’ll be happy to read and review:
- Tips and recommendations for contributors to various categories
- Lists of useful tools for contributors and moderators in various categories
- Helpful resource repositories and link collections
- Best practices in specific categories
- Personal experiences and lessons learned in community management and moderation roles
These contributions will be reviewed by the Utopian.io core team members personally, and scored according to the category guidelines for Blogs.
To ensure your contribution is reviewed, please include the tag #iamutopian in addition to #utopian-io and #blog categories.
Questions? Don’t hesitate to ask in the #iamutopian channel on the Utopian.io Discord.
One Last Thing… With the Utopian.io mini-hackathon taking place on September 20th, the content team and contributors will have its own unique role in the planned activities, so stay tuned for surprises and updates.
Tips are Back!
Did you know Utopian has a continuous 24/7 contest happening? When you leave insightful comments on Utopian contributions, you have the chance to get a tip or even a mega tip!
Check https://steemit.com/trending/utopian-io and make sure to provide your most valuable insights in the comments. We are constantly on the lookout of awesome ideas and feedback worthy of reward.
First Time Contributing in Utopian.io?
Learn how to contribute on our website
Utopian Witness
This page is synchronized from the post: Giving you more through partnerships and collaborations! Steem-UA, SteemPlus and more. Awesome new Incentives!


Cancel Subscription
{% if not customer.current_subscription %}You have no subscription on file.
See your account status or better yet, subscribe.
{% elif customer.current_subscription.status == customer.current_subscription.STATUS_CANCELLED %}Your subscription has already been canceled.
See your account status or better yet, get a fresh subscription.
{% elif customer.current_subscription.is_status_temporarily_current %}Your subscription has already been canceled.
However, you can still use the site for another {{ customer.current_subscription.current_period_end|timeuntil }}.
{% else %} {% block cancellation_ramifications %}What you lose by cancelling your subscription:
- Access to subscription-only content.
- Ability to use subscription-only features.


Flutter Cast Framework
Overview
Flutter Cast Framework is a POC of a flutter plugin that lets you use Chromecast API in a flutter app.
Useful links
Exposed APIs
Currently only the following APIs are integrated (both Android and iOS):
- Cast State
- Session state
- Send custom message
- Listen to received custom messages
- Load RemoteMediaRequestData
- Play, Pause, Stop media
- Expanded controls
- Mini Controller
- Cast Button
- Chromecast connection
Setup
Add Dependency
Run the following to add flutter_cast_framework
to the dependencies:
flutter pub add flutter_cast_framework
Android Setup
1. Create CastOptionsProvider
Add the following class to your Android project:
import android.content.Context
import com.google.android.gms.cast.framework.CastOptions
import com.google.android.gms.cast.framework.OptionsProvider
import com.google.android.gms.cast.framework.SessionProvider
class CastOptionsProvider : OptionsProvider {
override fun getCastOptions(context: Context): CastOptions {
return CastOptions.Builder()
.setReceiverApplicationId("4F8B3483") // Your receiver Application ID
.build()
}
override fun getAdditionalSessionProviders(context: Context): List<SessionProvider>? {
return null
}
}
2. Load CastOptionsProvider
Add the following entry in the AndroidManifest.xml
file under the <application>
tag to reference the CastOptionsProvider
class:
<application>
<meta-data
android:name="com.google.android.gms.cast.framework.OPTIONS_PROVIDER_CLASS_NAME"
android:value="com.gianlucaparadise.flutter_cast_framework_example.CastOptionsProvider" />
</application>
3. Theme
Make sure that your application and your activity are using an AppCompat
theme (as stated here).
iOS Setup
1. Minimum iOS version
Make sure you minimum iOS version is 10.0. Select Runner from left pane > General tab > Deployment Info > Target: set 10.0 or higher
2. Install iOS dependencies
When Xcode is closed, open a terminal at the root folder of your project and run:
cd ios && pod install
3. Open project in Xcode
To open your flutter project with Xcode, from root folder run open ios/Runner.xcworkspace
4. Chromecast SDK setup
Add the following lines to your AppDelegate.swift
:
import UIKit
import Flutter
+import GoogleCast
@UIApplicationMain
-@objc class AppDelegate: FlutterAppDelegate {
+@objc class AppDelegate: FlutterAppDelegate, GCKLoggerDelegate {
+ let kReceiverAppID = "4F8B3483" // Your receiver Application ID
+ let kDebugLoggingEnabled = true
+
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?
) -> Bool {
+ let criteria = GCKDiscoveryCriteria(applicationID: kReceiverAppID)
+ let options = GCKCastOptions(discoveryCriteria: criteria)
+ GCKCastContext.setSharedInstanceWith(options)
+
+ // Enable logger.
+ GCKLogger.sharedInstance().delegate = self
+
GeneratedPluginRegistrant.register(with: self)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
+
+ // MARK: - GCKLoggerDelegate
+
+ func logMessage(_ message: String,
+ at level: GCKLoggerLevel,
+ fromFunction function: String,
+ location: String) {
+ if (kDebugLoggingEnabled) {
+ print(function + " - " + message)
+ }
+ }
}
Tech notes
I used this project to test the capabilities of the following technologies:
- Chromecast API (Sender - Android SDK)
- Flutter
- Flutter custom platform-specific code
Roadmap
Next features to be developed:
- CC in Expanded Controls (iOS)
- Expanded Controls cosmetics (ad in progress bar, full screen, progress bar handle)
- Title in MiniController and ExpandedControls (blocked because of a pigeon issue, but solved with a workaround)
- Handle queue
- Handle progress seek
- Understand if it is better to refactor using streams instead of listeners
- Add tests
- Various glitches and cosmetic fixes