Class ComponentPath
java.lang.Object
com.inductiveautomation.perspective.designer.model.ComponentPath
Represents a path to a component, supporting the logic needed to derive the most appropriate relative path to
reference one component from another.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComponentPath
static final String
static final ComponentPath
static final String
static final String
static final ComponentPath
static final String
static final ComponentPath
static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getParts()
boolean
boolean
isPage()
boolean
isParent()
boolean
boolean
boolean
isThis()
boolean
isView()
relativePathTo
(ComponentPath destination) Creates a ComponentPath that will resolve to the given destination path when evaluated from the context of the component represented by this path.toString()
-
Field Details
-
SESSION_SHORTCUT
- See Also:
-
VIEW_SHORTCUT
- See Also:
-
PAGE_SHORTCUT
- See Also:
-
THIS_SHORTCUT
- See Also:
-
PARENT_SHORTCUT
- See Also:
-
VIEW
-
PAGE
-
THIS
-
PARENT
-
-
Constructor Details
-
ComponentPath
-
ComponentPath
-
-
Method Details
-
getLastPart
-
getParts
-
isSession
public boolean isSession() -
isPage
public boolean isPage() -
isView
public boolean isView() -
isParent
public boolean isParent() -
isThis
public boolean isThis() -
isAnyShortcut
public boolean isAnyShortcut() -
isRelative
public boolean isRelative() -
relativePathTo
Creates a ComponentPath that will resolve to the given destination path when evaluated from the context of the component represented by this path. -
equals
-
toString
-