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 |
getHasCentralNodeChild() |
boolean |
getHasCloseButton() |
boolean |
getHasWindowMenuButton() |
ImGuiWindow |
getHostWindow() |
int |
getID() |
boolean |
getIsFocused() |
boolean |
getIsVisible()
Set to false when the node is hidden (usually disabled as it has no active window)
|
int |
getLastBgColor() |
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()
Effective flags (== SharedFlags | LocalFlagsInNode | LocalFlagsInWindows)
|
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 dst)
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 dst)
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 dst)
[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)
|
ImGuiWindow |
getVisibleWindow()
Generally point to window which is ID is == SelectedTabID, but when CTRL+Tabbing this can be a different window.
|
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 |
hasLocalFlags(int flags)
Flags specific to this node
|
boolean |
hasLocalFlagsInWindows(int flags)
Flags specific to this node, applied from windows
|
boolean |
hasMergedFlags(int flags)
Effective flags (== SharedFlags | LocalFlagsInNode | LocalFlagsInWindows)
|
boolean |
hasSharedFlags(int flags)
Flags shared by all nodes of a same dockspace hierarchy (inherited from the root node)
|
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 |
rect(ImRect dst) |
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 value) |
void |
setAuthorityForSize(int value) |
void |
setAuthorityForViewport(int value) |
void |
setCentralNode(ImGuiDockNode value)
[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 |
setHasCentralNodeChild(boolean value) |
void |
setHasCloseButton(boolean value) |
void |
setHasWindowMenuButton(boolean value) |
void |
setHostWindow(ImGuiWindow value) |
void |
setID(int value) |
void |
setIsFocused(boolean value) |
void |
setIsVisible(boolean value)
Set to false when the node is hidden (usually disabled as it has no active window)
|
void |
setLastBgColor(int value) |
void |
setLastFocusedNodeId(int value)
[Root node only] Which of our child docking node (any ancestor in the hierarchy) was last focused.
|
void |
setLastFrameActive(int value)
Last frame number the node was updated.
|
void |
setLastFrameAlive(int value)
Last frame number the node was updated or kept alive explicitly with DockSpace() + int_KeepAliveOnly
|
void |
setLastFrameFocused(int value)
Last frame number the node was focused.
|
void |
setLocalFlags(int value)
Flags specific to this node
|
void |
setLocalFlagsInWindows(int value)
Flags specific to this node, applied from windows
|
void |
setOnlyNodeWithWindows(ImGuiDockNode value)
[Root node only] Set when there is a single visible node within the hierarchy.
|
void |
setParentNode(ImGuiDockNode value) |
void |
setPos(float valueX,
float valueY)
Current position
|
void |
setPos(ImVec2 value)
Current position
|
void |
setSelectedTabId(int value)
[Leaf node only] Which of our tab/window is selected.
|
void |
setSharedFlags(int value)
Flags shared by all nodes of a same dockspace hierarchy (inherited from the root node)
|
void |
setSize(float valueX,
float valueY)
Current size
|
void |
setSize(ImVec2 value)
Current size
|
void |
setSizeRef(float valueX,
float valueY)
[Split node only] Last explicitly written-to size (overridden when using a splitter affecting the node), used to calculate Size.
|
void |
setSizeRef(ImVec2 value)
[Split node only] Last explicitly written-to size (overridden when using a splitter affecting the node), used to calculate Size.
|
void |
setVisibleWindow(ImGuiWindow value)
Generally point to window which is ID is == SelectedTabID, but when CTRL+Tabbing this can be a different window.
|
void |
setWantCloseAll(boolean value)
Set when closing all tabs at once.
|
void |
setWantCloseTabId(int value)
[Leaf node only] Set when closing a specific tab/window.
|
void |
setWantHiddenTabBarToggle(boolean value) |
void |
setWantHiddenTabBarUpdate(boolean value) |
void |
setWantLockSizeOnce(boolean value) |
void |
setWantMouseMove(boolean value)
After a node extraction we need to transition toward moving the newly created host window
|
void |
updateMergedFlags() |
isNotValidPtr, isValidPtr
public int getID()
public void setID(int value)
public int getSharedFlags()
public void setSharedFlags(int value)
public void addSharedFlags(int flags)
public void removeSharedFlags(int flags)
public boolean hasSharedFlags(int flags)
public int getLocalFlags()
public void setLocalFlags(int value)
public void addLocalFlags(int flags)
public void removeLocalFlags(int flags)
public boolean hasLocalFlags(int flags)
public int getLocalFlagsInWindows()
public void setLocalFlagsInWindows(int value)
public void addLocalFlagsInWindows(int flags)
public void removeLocalFlagsInWindows(int flags)
public boolean hasLocalFlagsInWindows(int flags)
public int getMergedFlags()
public boolean hasMergedFlags(int flags)
public ImGuiDockNode getParentNode()
public void setParentNode(ImGuiDockNode value)
public ImGuiDockNode getChildNodeFirst()
public void setChildNodeFirst(ImGuiDockNode imGuiDockNode)
public ImGuiDockNode getChildNodeSecond()
public void setChildNodeSecond(ImGuiDockNode imGuiDockNode)
public ImVec2 getPos()
public float getPosX()
public float getPosY()
public void getPos(ImVec2 dst)
public void setPos(ImVec2 value)
public void setPos(float valueX, float valueY)
public ImVec2 getSize()
public float getSizeX()
public float getSizeY()
public void getSize(ImVec2 dst)
public void setSize(ImVec2 value)
public void setSize(float valueX, float valueY)
public ImVec2 getSizeRef()
public float getSizeRefX()
public float getSizeRefY()
public void getSizeRef(ImVec2 dst)
public void setSizeRef(ImVec2 value)
public void setSizeRef(float valueX, float valueY)
public int getSplitAxis()
public ImGuiWindowClass getWindowClass()
public int getLastBgColor()
public void setLastBgColor(int value)
public ImGuiWindow getHostWindow()
public void setHostWindow(ImGuiWindow value)
public ImGuiWindow getVisibleWindow()
public void setVisibleWindow(ImGuiWindow value)
public ImGuiDockNode getCentralNode()
public void setCentralNode(ImGuiDockNode value)
public ImGuiDockNode getOnlyNodeWithWindows()
public void setOnlyNodeWithWindows(ImGuiDockNode value)
public int getLastFrameAlive()
public void setLastFrameAlive(int value)
public int getLastFrameActive()
public void setLastFrameActive(int value)
public int getLastFrameFocused()
public void setLastFrameFocused(int value)
public int getLastFocusedNodeId()
public void setLastFocusedNodeId(int value)
public int getSelectedTabId()
public void setSelectedTabId(int value)
public int getWantCloseTabId()
public void setWantCloseTabId(int value)
public int getAuthorityForPos()
public void setAuthorityForPos(int value)
public int getAuthorityForSize()
public void setAuthorityForSize(int value)
public int getAuthorityForViewport()
public void setAuthorityForViewport(int value)
public boolean getIsVisible()
public void setIsVisible(boolean value)
public boolean getIsFocused()
public void setIsFocused(boolean value)
public boolean getHasCloseButton()
public void setHasCloseButton(boolean value)
public boolean getHasWindowMenuButton()
public void setHasWindowMenuButton(boolean value)
public boolean getHasCentralNodeChild()
public void setHasCentralNodeChild(boolean value)
public boolean getWantCloseAll()
public void setWantCloseAll(boolean value)
public boolean getWantLockSizeOnce()
public void setWantLockSizeOnce(boolean value)
public boolean getWantMouseMove()
public void setWantMouseMove(boolean value)
public boolean getWantHiddenTabBarUpdate()
public void setWantHiddenTabBarUpdate(boolean value)
public boolean getWantHiddenTabBarToggle()
public void setWantHiddenTabBarToggle(boolean value)
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()
public void rect(ImRect dst)
public void updateMergedFlags()