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 ComponentPathstatic final Stringstatic final ComponentPathstatic final Stringstatic final Stringstatic final ComponentPathstatic final Stringstatic final ComponentPathstatic final String - 
Constructor Summary
Constructors - 
Method Summary
Modifier 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
 - 
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
 
 -