package editor
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- final case class Action(title: String, shortCut: String, handler: (Any) => Unit, icon: Option[String] = None) extends Product with Serializable
- case class AddEdge(id: String, from: String, to: String, connectorRef: Option[String] = None, path: Option[EdgePath] = None) extends EditorCommand with Product with Serializable
- case class AddNode(id: String, stencilRef: Option[String] = None, x: Option[Double] = None, y: Option[Double] = None) extends EditorCommand with Product with Serializable
- case class ColorValue(color: String) extends PropertyValue with Product with Serializable
- final case class Connector(id: String, title: String, image: Option[ImageSpec] = None, schemaRef: Option[String] = None) extends Product with Serializable
- final case class ConnectorGroup(title: String, items: List[Connector]) extends Product with Serializable
- final case class DragStart[T](cursorX: Double, cursorY: Double, transformX: Double, transformY: Double, dragElem: T, element: ElementRef, lastPos: Option[PagePoint], deltaX: Double, deltaY: Double) extends Product with Serializable
- sealed trait EditorCommand extends EditorEvent
- trait EditorComponent extends AnyRef
- final case class EditorConfiguration(palettes: Option[List[Palette]] = None) extends Product with Serializable
- final case class EditorContext(event: EditorEvent, model: EditorModel, notifications: Vector[Notification] = Vector.empty, commands: Vector[EditorCommand] = Vector.empty, effects: Vector[EditorEffect] = Vector.empty) extends Product with Serializable
- class EditorController extends EditorMessageBus
- final case class EditorEffect(source: EditorComponent, effect: IO[Unit]) extends Product with Serializable
- case class EditorErrorMessage(message: String) extends EditorEvent with Product with Serializable
- sealed trait EditorEvent extends AnyRef
- final case class EditorGraph(graph: Graph[EditorGraphEdge, EditorGraphNode], styleSheets: List[Either[String, StyleSheet]], layouts: List[Either[String, GraphLayoutLike]], schemas: List[Either[String, EditorSchema]]) extends Product with Serializable
- final case class EditorGraphEdge(id: String, data: Json, connector: Option[String], schemaRef: Option[String], label: Option[String] = None) extends EditorGraphElement with Product with Serializable
- trait EditorGraphElement extends AnyRef
- final case class EditorGraphNode(id: String, data: Json, stencil: Option[String], schemaRef: Option[String], label: Option[String] = None) extends EditorGraphElement with Product with Serializable
- class EditorGraphNodeFx extends Group
- class EditorGraphPane extends BorderPane with Page[scalafx.scene.Node, MouseEvent]
- class EditorImageLoader[Image] extends EditorComponent
- final case class EditorInstance(bus: EditorMessageBus, components: List[EditorComponent]) extends Product with Serializable
- trait EditorMain extends AnyRef
- trait EditorMenu extends EditorComponent
- class EditorMenuJavaFx extends EditorMenu
- final case class EditorMenuSpec(title: String, menuType: MenuType, actions: List[Action], icon: Option[String] = None) extends Product with Serializable
- trait EditorMessageBus extends AnyRef
- final case class EditorModel(graph: Graph[EditorGraphEdge, EditorGraphNode], selection: Set[ElementRef] = Set.empty, connectSelection: Boolean = false, schema: EditorSchemaLike, palette: EditorPaletteLike, layout: GraphLayoutLike, styleSheet: StyleSheetLike, version: Long = 0, config: EditorConfiguration) extends Product with Serializable
- class EditorPaletteJavaFx extends PaletteFeature
- trait EditorPaletteLike extends AnyRef
- final case class EditorPalettes(palettes: List[Palette]) extends EditorPaletteLike with Product with Serializable
- trait EditorProperties extends EditorComponent
- class EditorPropertiesJavaFx extends EditorProperties
- final case class EditorSchemaHints(copyToLabel: Option[Boolean] = None, hideLabelProperty: Option[Boolean] = None, highlight: Option[String] = None, showJsonProperty: Option[Boolean] = None) extends Product with Serializable
- trait EditorSchemaLike extends AnyRef
- final case class EditorSchemas(schemas: List[Schema[EditorSchemaHints]]) extends EditorSchemaLike with Product with Serializable
- case class EditorToggle(key: String, value: Option[Boolean]) extends EditorCommand with Product with Serializable
- trait EditorView[T, E] extends EditorComponent
- class EditorViewJavaFx extends EditorView[scalafx.scene.Node, MouseEvent]
- final case class ElementProperties(element: ElementRef, labelValue: Option[String], colorValue: Option[String], elementSchema: EditorSchema, value: Json) extends Product with Serializable
- case class ElementRef(id: String, elementType: ElementType) extends Product with Serializable
- sealed trait ElementType extends AnyRef
- case class ElementUpdated(element: ElementRef, update: UpdateType = Changed, causedBy: Option[EditorEvent] = None) extends EditorEvent with Product with Serializable
- case class Export(format: FileFormat) extends EditorCommand with Product with Serializable
- case class ExportedGraph(name: String, value: String, format: FileFormat) extends EditorEvent with Product with Serializable
- sealed trait FileFormat extends AnyRef
- trait ImageLoader[T] extends AnyRef
- final case class JFXElement(id: ElementRef, group: scalafx.scene.Node, selectElem: Option[scalafx.scene.Node], label: scalafx.scene.Node) extends GraphElement[scalafx.scene.Node] with Product with Serializable
- case class JsonValue(json: Json) extends PropertyValue with Product with Serializable
- case class JsonValueKey(key: Option[String]) extends PropertyValueKey with Product with Serializable
- case class Load(value: String, format: FileFormat) extends EditorCommand with Product with Serializable
- sealed trait MenuType extends AnyRef
- case class MoveBy(deltaX: Double, deltaY: Double) extends EditorCommand with Product with Serializable
- case class MoveTo(ref: ElementRef, x: Double, y: Double) extends EditorCommand with Product with Serializable
- final case class Notification(source: EditorComponent, event: EditorEvent) extends Product with Serializable
- trait Page[T, E] extends AnyRef
- final case class PagePoint(x: Double, y: Double) extends Product with Serializable
- final case class Palette(stencils: List[StencilGroup] = List.empty, connectors: List[ConnectorGroup] = List.empty, styleSheet: StyleSheet, schema: Schema[EditorSchemaHints]) extends Product with Serializable
- final case class PanContext(mouseAnchorX: Double, mouseAnchorY: Double, translateAnchorX: Double, translateAnchorY: Double) extends Product with Serializable
- trait PropertyFormGroup extends AnyRef
- case class PropertyFormGroupFx(property: PropertySpec, init: () => Unit, set: (Json) => Unit) extends PropertyFormGroup with Product with Serializable
- sealed trait PropertyInputType extends AnyRef
- final case class PropertySpec(key: Option[PropertyValueKey] = None, title: String, inputType: PropertyInputType, handler: (PropertyValue) => Unit, description: Option[String] = None, collapsable: Option[Boolean] = None, highlight: Option[String] = None, order: Float = 0.5f, targetType: Option[ElementType] = None) extends Product with Serializable
- sealed trait PropertyValue extends AnyRef
- sealed trait PropertyValueKey extends AnyRef
- case class Select(selection: Set[ElementRef], append: Boolean = false) extends EditorCommand with Product with Serializable
- case class Selected(elements: Set[ElementRef], oldSelection: Set[ElementRef]) extends EditorEvent with Product with Serializable
- case class SetColor(elementRef: ElementRef, color: String) extends EditorCommand with Product with Serializable
- case class SetJson(elementRef: ElementRef, json: (Json) => Json) extends EditorCommand with Product with Serializable
- case class SetJsonString(elementRef: ElementRef, json: String) extends EditorCommand with Product with Serializable
- case class SetLabel(elementRef: ElementRef, label: String) extends EditorCommand with Product with Serializable
- case class SetModel(model: EditorModel) extends EditorCommand with Product with Serializable
- final case class Stencil(id: String, title: String, image: Option[ImageSpec] = None, schemaRef: Option[String] = None) extends Product with Serializable
- id
the id of the stencil, this will be used as a reference to the style sheet
- title
title to show
- image
an image spec to be used in the palette, this is not referencing the stylesheet images because the stencil style might actually not be an image, making a preview hard to reproduce
- schemaRef
reference to the schema definition, not the full path, only the fragment
- final case class StencilGroup(title: String, items: List[Stencil]) extends Product with Serializable
- sealed trait UpdateType extends AnyRef
- final case class ViewModel[T](graphElements: Map[ElementRef, GraphElement[T]]) extends Product with Serializable
Value Members
- case object BooleanInput extends PropertyInputType with Product with Serializable
- case object Changed extends UpdateType with Product with Serializable
- case object ColorInputType extends PropertyInputType with Product with Serializable
- case object ColorKey extends PropertyValueKey with Product with Serializable
- case object Created extends UpdateType with Product with Serializable
- case object DeleteSelection extends EditorCommand with Product with Serializable
- case object Deleted extends UpdateType with Product with Serializable
- case object DropUp extends MenuType with Product with Serializable
- case object EdgeType extends ElementType with Product with Serializable
- object EditorCommand
- object EditorConfiguration extends Serializable
- object EditorGraphEdge extends Serializable
- object EditorGraphJsonFormat
- object EditorGraphNode extends Serializable
- object EditorMainJvm extends JFXApp with EditorMain
- object EditorModel extends Serializable
- object EditorToggle extends Serializable
- case object GraphMLFormat extends FileFormat with Product with Serializable
- object ImageLoader
- object ImageLoaderFx extends ImageLoader[Image]
- case object IntegerInput extends PropertyInputType with Product with Serializable
- case object Internal extends UpdateType with Product with Serializable
- case object JsonFormat extends FileFormat with Product with Serializable
- case object JsonInputType extends PropertyInputType with Product with Serializable
- case object LabelInputType extends PropertyInputType with Product with Serializable
- case object NodeType extends ElementType with Product with Serializable
- case object NumberInput extends PropertyInputType with Product with Serializable
- case object Reset extends EditorCommand with Product with Serializable
- case object ResetTransformation extends EditorCommand with Product with Serializable
- case object SelectAll extends EditorCommand with Product with Serializable
- case object TextInput extends PropertyInputType with Product with Serializable
- case object Toolbar extends MenuType with Product with Serializable
- case object Undo extends EditorCommand with Product with Serializable