Package gaiasky.gui

Class BookmarksManager.BookmarkNode

java.lang.Object
gaiasky.gui.BookmarksManager.BookmarkNode
Enclosing class:
BookmarksManager

public static class BookmarksManager.BookmarkNode extends Object
  • Field Details

    • POS_BOOKMARK_REGEX

      public static final String POS_BOOKMARK_REGEX
      Regular expression that defines the format of positional bookmarks, which is: {[x,y,z]|[dx,dy,dz]|[ux,uy,uz]|instant|name}
      See Also:
    • text

      public String text

      The text of the bookmark in the bookmarks.txt file. This coincides with the name for regular bookmarks. For positional bookmarks, this has the format:

      {[x,y,z]|[dx,dy,dz]|[ux,uy,uz]|instant|name}
    • name

      public String name
      The name of this node
    • position

      public Vector3d position
      Camera position, for positional bookmarks.
    • direction

      public Vector3d direction
      Camera direction, for positional bookmarks.
    • up

      public Vector3d up
      Camera up vector, for positional bookmarks.
    • time

      public Instant time
      Time, positional bookmarks.
    • path

      public Path path
      The full path.
    • parent

      The parent of this node, null if root.
    • children

      Children, if any.
    • folder

      public boolean folder
      Is it a folder?
  • Constructor Details

    • BookmarkNode

      public BookmarkNode(Path path, boolean folder)
  • Method Details