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 SummaryFieldsModifier and TypeFieldDescriptionstatic final ComponentPathstatic final Stringstatic final ComponentPathstatic final Stringstatic final Stringstatic final ComponentPathstatic final Stringstatic final ComponentPathstatic final String
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleangetParts()booleanbooleanisPage()booleanisParent()booleanbooleanbooleanisThis()booleanisView()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
- 
isSessionpublic boolean isSession()
- 
isPagepublic boolean isPage()
- 
isViewpublic boolean isView()
- 
isParentpublic boolean isParent()
- 
isThispublic boolean isThis()
- 
isAnyShortcutpublic boolean isAnyShortcut()
- 
isRelativepublic boolean isRelative()
- 
relativePathToCreates a ComponentPath that will resolve to the given destination path when evaluated from the context of the component represented by this path.
- 
equals
- 
toString
 
-