JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

Profile: desktop, common

Overview

A simple MapView Container which displays elements of a TopicMapTopic and

    • provides panning of the map through a small navigator known from other maps
      provides scaling of the map when the middle mouse button is scrolled
      switches all elements into sleep mode while the user is associating topics (elements block mouse otherwise)
      switches all elements into sleep mode while the user is painting/associating (elements block mouse otherwise)
  • Per Default: This MapView ships with a scaleToOriginalSize button at the top of the map and with a GUI-Element for Pan / Zoom Navigation and a >public var progressBar bound to the whole width of the MapView Element
    Note: This map can have a Selection

    Variable Summary

    accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
    publicassocPathPath
    publiccontainerGroup

    The Top-Level container which aggregates the map and additional buttons/>

    publicdetailWindowGroup

    Placeholder declaration for a MapView internal DetailComponent

    publicgestureDialogGestureBoard
    publicgraphElementsGroup

    A container for all GraphElements in a TopicMap and is therefore useful when one wants to:
    + looked up elements by id + add or remove elements

    publicinfoLabel<any>
    publiclineToLineTo

    A Path of Points rendered when MapViewer is in Association Mode {}

    publicmapGroup

    A container which makes a MapView containing MapPanel#backgroundCanvas and MapPanel#elements
    Is used when the user wants to scale or translate the map

    publiconMapColorChangedfunction(:Color):Void
    publiconMapDoubleClickedfunction(:MouseEvent):Void
    publiconMapDraggedfunction(:MouseEvent):Void
    publiconMapMovedfunction(:MouseEvent):Void
    publiconMapPressedfunction(:MouseEvent):Void
    publiconMapReleasedfunction(:MouseEvent):Void
    publiconMapScalefunction(:MouseEvent,:float):Void
    publiconMapSelectionfunction(:Selection):Void
    publiconMapTranslatefunction(:MouseEvent):Void
    publiconResetScalefunction():Void
    publicprogressBarProgressBar
    publicshowDetailWindowfunction(:MouseEvent):Void
    publicswitchAssociatonModefunction(:GraphElement):Void
    publicswitchFullscreenfunction(:MouseEvent):Void
    publicswitchPaintModefunction(:TopicMapTopic):Void

    Inherited Variables

    de.deepamehta.fxclient.Selection

    accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
    publicelementsSelection[]
    publicselectedBoolean
    publicselectionTypeInteger
    publicviewTypeString

    de.deepamehta.fxclient.GraphElement

    accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
    publicbeanFXBean

    A flexible data container which holds either a Topic, an Association or a Container

    publictopicPosXNumber
    publictopicPosYNumber

    Function Summary

    public addAssociation(arg0: GraphElement) : Boolean
    Parameters
    arg0
    Returns
    Boolean
    &nbsp;
    public delegateToBack() : Void
    &nbsp;
    public delegateToFront() : Void
    &nbsp;
    public getAssociations() : java.lang.Object[]
    Returns
    Object[]
    &nbsp;
    public getID() : java.lang.String
    Returns
    String
    &nbsp;
    public getRelatedElement(arg0: PresentationAssociation) : GraphElement
    Parameters
    arg0
    Returns
    GraphElement
    &nbsp;
    public getType() : FXType
    Returns
    FXType
    &nbsp;
    public hide() : Boolean
    Returns
    Boolean
    &nbsp;
    public isLocked() : Boolean
    Returns
    Boolean
    &nbsp;
    public removeAssociation(arg0: GraphElement) : Boolean
    Parameters
    arg0
    Returns
    Boolean
    &nbsp;
    public select() : Boolean
    Returns
    Boolean
    &nbsp;
    public sendBackgroundToBack() : Void
    &nbsp;
    public setActive() : Boolean
    Returns
    Boolean
    &nbsp;
    public setAllTemplates(templates: Byte[]) : Void
    Parameters
    templates
    &nbsp;
    public setBackgroundColor(color: Color) : Void
    Parameters
    color
    &nbsp;
    public setBackgroundImage(imgSrc: java.lang.String) : Void
    Parameters
    imgSrc
    &nbsp;
    public setDeactive() : Boolean
    Returns
    Boolean
    &nbsp;
    public setGestureDialog(gestureBoard: GestureBoard) : Void
    Parameters
    gestureBoard
    &nbsp;
    public showDetails() : Boolean
    Returns
    Boolean
    &nbsp;
    public switchMouseBlocking() : Void
    &nbsp;
    public transAnTo(p: Point2D) : Void
    Parameters
    p
    &nbsp;
    public update(arg0: Point2D) : Void
    Parameters
    arg0
    &nbsp;

    Inherited Functions

    de.deepamehta.fxclient.Selection

    public getSelectedId(i: Integer) : java.lang.String
    Parameters
    i
    Returns
    String
    &nbsp;
    public abstract select() : Boolean
    Returns
    Boolean
    &nbsp;

    de.deepamehta.fxclient.GraphElement

    public abstract addAssociation(node: GraphElement) : Boolean
    Parameters
    node
    Returns
    Boolean
    &nbsp;
    public abstract delegateToBack() : Void
    &nbsp;
    public abstract delegateToFront() : Void
    &nbsp;
    public abstract getAssociations() : java.lang.Object[]
    Returns
    Object[]
    &nbsp;
    public abstract getID() : java.lang.String
    Returns
    String
    &nbsp;
    public abstract getRelatedElement(edge: PresentationAssociation) : GraphElement
    Parameters
    edge
    Returns
    GraphElement
    &nbsp;
    public getSelectedId(i: Integer) : java.lang.String
    Parameters
    i
    Returns
    String
    &nbsp;
    public abstract getType() : FXType
    Returns
    FXType
    &nbsp;
    public abstract hide() : Boolean
    Returns
    Boolean
    &nbsp;
    public abstract isLocked() : Boolean
    Returns
    Boolean
    &nbsp;
    public abstract removeAssociation(node: GraphElement) : Boolean
    Parameters
    node
    Returns
    Boolean
    &nbsp;
    public abstract setActive() : Boolean
    Returns
    Boolean
    &nbsp;
    public abstract setDeactive() : Boolean
    Returns
    Boolean
    &nbsp;
    public abstract showDetails() : Boolean
    Returns
    Boolean
    &nbsp;
    public abstract switchMouseBlocking() : Void
    &nbsp;
    public toString() : java.lang.String
    Returns
    String
    &nbsp;
    public abstract update(point: Point2D) : Void
    Parameters
    point
    &nbsp;