public static class JIPipeDesktopSplitPane.DynamicSidebarRatio extends Object implements JIPipeDesktopSplitPane.Ratio
Constructor and Description |
---|
DynamicSidebarRatio() |
DynamicSidebarRatio(int preferredSidebarWidth,
boolean resizeLeftSidebar) |
Modifier and Type | Method and Description |
---|---|
Double |
apply(Integer availableWidth) |
boolean |
isResizeLeftSidebar() |
void |
onUpdated(JIPipeDesktopSplitPane splitPane,
int dividerLocation) |
void |
setResizeLeftSidebar(boolean resizeLeftSidebar) |
public DynamicSidebarRatio()
public DynamicSidebarRatio(int preferredSidebarWidth, boolean resizeLeftSidebar)
public boolean isResizeLeftSidebar()
public void setResizeLeftSidebar(boolean resizeLeftSidebar)
public void onUpdated(JIPipeDesktopSplitPane splitPane, int dividerLocation)
onUpdated
in interface JIPipeDesktopSplitPane.Ratio
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.