public final class ImGuiDockNode extends ImGuiStruct
ptr
Constructor and Description |
---|
ImGuiDockNode(long ptr) |
Modifier and Type | Method and Description |
---|---|
void |
addLocalFlags(int flags)
Flags specific to this node
|
void |
addLocalFlagsInWindows(int flags)
Flags specific to this node, applied from windows
|
void |
addSharedFlags(int flags)
Flags shared by all nodes of a same dockspace hierarchy (inherited from the root node)
|
int |
getAuthorityForPos() |
int |
getAuthorityForSize() |
int |
getAuthorityForViewport() |
ImGuiDockNode |
getCentralNode()
[Root node only] Pointer to central node.
|
ImGuiDockNode |
getChildNodeFirst()
[Split node only] Child nodes (left/right or top/bottom).
|
ImGuiDockNode |
getChildNodeSecond()
[Split node only] Child nodes (left/right or top/bottom).
|
boolean |
getHasCloseButton() |
boolean |
getHasWindowMenuButton() |
int |
getID() |
boolean |
getIsFocused() |
boolean |
getIsVisible()
Set to false when the node is hidden (usually disabled as it has no active window)
|
int |
getLastFocusedNodeId()
[Root node only] Which of our child docking node (any ancestor in the hierarchy) was last focused.
|
int |
getLastFrameActive()
Last frame number the node was updated.
|
int |
getLastFrameAlive()
Last frame number the node was updated or kept alive explicitly with DockSpace() + int_KeepAliveOnly
|
int |
getLastFrameFocused()
Last frame number the node was focused.
|
int |
getLocalFlags()
Flags specific to this node
|
int |
getLocalFlagsInWindows()
Flags specific to this node, applied from windows
|
int |
getMergedFlags() |
ImGuiDockNode |
getOnlyNodeWithWindows()
[Root node only] Set when there is a single visible node within the hierarchy.
|
ImGuiDockNode |
getParentNode() |
ImVec2 |
getPos()
Current position
|
void |
getPos(ImVec2 dstImVec2)
Current position
|
float |
getPosX()
Current position
|
float |
getPosY()
Current position
|
int |
getSelectedTabId()
[Leaf node only] Which of our tab/window is selected.
|
int |
getSharedFlags()
Flags shared by all nodes of a same dockspace hierarchy (inherited from the root node)
|
ImVec2 |
getSize()
Current size
|
void |
getSize(ImVec2 dstImVec2)
Current size
|
ImVec2 |
getSizeRef()
[Split node only] Last explicitly written-to size (overridden when using a splitter affecting the node), used to calculate Size.
|
void |
getSizeRef(ImVec2 dstImVec2)
[Split node only] Last explicitly written-to size (overridden when using a splitter affecting the node), used to calculate Size.
|
float |
getSizeRefX()
[Split node only] Last explicitly written-to size (overridden when using a splitter affecting the node), used to calculate Size.
|
float |
getSizeRefY()
[Split node only] Last explicitly written-to size (overridden when using a splitter affecting the node), used to calculate Size.
|
float |
getSizeX()
Current size
|
float |
getSizeY()
Current size
|
int |
getSplitAxis()
[Split node only] Split axis (X or Y)
|
int |
getState() |
boolean |
getWantCloseAll()
Set when closing all tabs at once.
|
int |
getWantCloseTabId()
[Leaf node only] Set when closing a specific tab/window.
|
boolean |
getWantHiddenTabBarToggle() |
boolean |
getWantHiddenTabBarUpdate() |
boolean |
getWantLockSizeOnce() |
boolean |
getWantMouseMove()
After a node extraction we need to transition toward moving the newly created host window
|
ImGuiWindowClass |
getWindowClass()
[Root node only]
|
boolean |
isCentralNode() |
boolean |
isDockSpace() |
boolean |
isEmpty() |
boolean |
isFloatingNode() |
boolean |
isHiddenTabBar()
Hidden tab bar can be shown back by clicking the small triangle
|
boolean |
isLeafNode() |
boolean |
isNoTabBar()
Never show a tab bar
|
boolean |
isRootNode() |
boolean |
isSplitNode() |
ImRect |
rect() |
void |
removeLocalFlags(int flags)
Flags specific to this node
|
void |
removeLocalFlagsInWindows(int flags)
Flags specific to this node, applied from windows
|
void |
removeSharedFlags(int flags)
Flags shared by all nodes of a same dockspace hierarchy (inherited from the root node)
|
void |
setAuthorityForPos(int authorityForPos) |
void |
setAuthorityForSize(int authorityForSize) |
void |
setAuthorityForViewport(int authorityForViewport) |
void |
setCentralNode(ImGuiDockNode imGuiDockNode)
[Root node only] Pointer to central node.
|
void |
setChildNodeFirst(ImGuiDockNode imGuiDockNode)
[Split node only] Child nodes (left/right or top/bottom).
|
void |
setChildNodeSecond(ImGuiDockNode imGuiDockNode)
[Split node only] Child nodes (left/right or top/bottom).
|
void |
setHasCloseButton(boolean hasCloseButton) |
void |
setHasWindowMenuButton(boolean hasWindowMenuButton) |
void |
setID(int imGuiID) |
void |
setIsFocused(boolean isFocused) |
void |
setIsVisible(boolean isVisible)
Set to false when the node is hidden (usually disabled as it has no active window)
|
void |
setLastFocusedNodeId(int lastFocusedNodeId)
[Root node only] Which of our child docking node (any ancestor in the hierarchy) was last focused.
|
void |
setLastFrameActive(int lastFrameActive)
Last frame number the node was updated.
|
void |
setLastFrameAlive(int lastFrameAlive)
Last frame number the node was updated or kept alive explicitly with DockSpace() + int_KeepAliveOnly
|
void |
setLastFrameFocused(int lastFrameFocused)
Last frame number the node was focused.
|
void |
setLocalFlags(int flags)
Flags specific to this node
|
void |
setLocalFlagsInWindows(int flags)
Flags specific to this node, applied from windows
|
void |
setOnlyNodeWithWindows(ImGuiDockNode imGuiDockNode)
[Root node only] Set when there is a single visible node within the hierarchy.
|
void |
setParentNode(ImGuiDockNode imGuiDockNode) |
void |
setPos(float x,
float y)
Current position
|
void |
setSelectedTabId(int selectedTabId)
[Leaf node only] Which of our tab/window is selected.
|
void |
setSharedFlags(int sharedFlags)
Flags shared by all nodes of a same dockspace hierarchy (inherited from the root node)
|
void |
setSize(float x,
float y)
Current size
|
void |
setSizeRef(float x,
float y)
[Split node only] Last explicitly written-to size (overridden when using a splitter affecting the node), used to calculate Size.
|
void |
setSplitAxis(int splitAxis)
[Split node only] Split axis (X or Y)
|
void |
setState(int state) |
void |
setWantCloseAll(boolean wantCloseAll)
Set when closing all tabs at once.
|
void |
setWantCloseTabId(int wantCloseTabId)
[Leaf node only] Set when closing a specific tab/window.
|
void |
setWantHiddenTabBarToggle(boolean wantHiddenTabBarToggle) |
void |
setWantHiddenTabBarUpdate(boolean wantHiddenTabBarUpdate) |
void |
setWantLockSizeOnce(boolean wantLockSizeOnce) |
void |
setWantMouseMove(boolean wantMouseMove)
After a node extraction we need to transition toward moving the newly created host window
|
void |
setWindowClass(ImGuiWindowClass imGuiWindowClass)
[Root node only]
|
isNotValidPtr, isValidPtr
public int getID()
public void setID(int imGuiID)
public int getSharedFlags()
public void setSharedFlags(int sharedFlags)
public void addSharedFlags(int flags)
public void removeSharedFlags(int flags)
public int getLocalFlags()
public void setLocalFlags(int flags)
public void addLocalFlags(int flags)
public void removeLocalFlags(int flags)
public int getLocalFlagsInWindows()
public void setLocalFlagsInWindows(int flags)
public void addLocalFlagsInWindows(int flags)
public void removeLocalFlagsInWindows(int flags)
public int getMergedFlags()
public ImGuiDockNode getParentNode()
public void setParentNode(ImGuiDockNode imGuiDockNode)
public ImGuiDockNode getChildNodeFirst()
public void setChildNodeFirst(ImGuiDockNode imGuiDockNode)
public ImGuiDockNode getChildNodeSecond()
public void setChildNodeSecond(ImGuiDockNode imGuiDockNode)
public ImGuiWindowClass getWindowClass()
public void setWindowClass(ImGuiWindowClass imGuiWindowClass)
public ImVec2 getPos()
public void getPos(ImVec2 dstImVec2)
public float getPosX()
public float getPosY()
public void setPos(float x, float y)
public ImVec2 getSize()
public void getSize(ImVec2 dstImVec2)
public float getSizeX()
public float getSizeY()
public void setSize(float x, float y)
public ImVec2 getSizeRef()
public void getSizeRef(ImVec2 dstImVec2)
public float getSizeRefX()
public float getSizeRefY()
public void setSizeRef(float x, float y)
public int getSplitAxis()
public void setSplitAxis(int splitAxis)
public int getState()
public void setState(int state)
public ImGuiDockNode getCentralNode()
public void setCentralNode(ImGuiDockNode imGuiDockNode)
public ImGuiDockNode getOnlyNodeWithWindows()
public void setOnlyNodeWithWindows(ImGuiDockNode imGuiDockNode)
public int getLastFrameAlive()
public void setLastFrameAlive(int lastFrameAlive)
public int getLastFrameActive()
public void setLastFrameActive(int lastFrameActive)
public int getLastFrameFocused()
public void setLastFrameFocused(int lastFrameFocused)
public int getLastFocusedNodeId()
public void setLastFocusedNodeId(int lastFocusedNodeId)
public int getSelectedTabId()
public void setSelectedTabId(int selectedTabId)
public int getWantCloseTabId()
public void setWantCloseTabId(int wantCloseTabId)
public int getAuthorityForPos()
public void setAuthorityForPos(int authorityForPos)
public int getAuthorityForSize()
public void setAuthorityForSize(int authorityForSize)
public int getAuthorityForViewport()
public void setAuthorityForViewport(int authorityForViewport)
public boolean getIsVisible()
public void setIsVisible(boolean isVisible)
public boolean getIsFocused()
public void setIsFocused(boolean isFocused)
public boolean getHasCloseButton()
public void setHasCloseButton(boolean hasCloseButton)
public boolean getHasWindowMenuButton()
public void setHasWindowMenuButton(boolean hasWindowMenuButton)
public boolean getWantCloseAll()
public void setWantCloseAll(boolean wantCloseAll)
public boolean getWantLockSizeOnce()
public void setWantLockSizeOnce(boolean wantLockSizeOnce)
public boolean getWantMouseMove()
public void setWantMouseMove(boolean wantMouseMove)
public boolean getWantHiddenTabBarUpdate()
public void setWantHiddenTabBarUpdate(boolean wantHiddenTabBarUpdate)
public boolean getWantHiddenTabBarToggle()
public void setWantHiddenTabBarToggle(boolean wantHiddenTabBarToggle)
public boolean isRootNode()
public boolean isDockSpace()
public boolean isFloatingNode()
public boolean isCentralNode()
public boolean isHiddenTabBar()
public boolean isNoTabBar()
public boolean isSplitNode()
public boolean isLeafNode()
public boolean isEmpty()
public ImRect rect()