Skip navigation links
A C D E F G I J L M O P R S T U V W 

A

acceptingAll() - Static method in class de.javagl.common.ui.tree.filtered.TreeModelFilters
Returns a TreeModelFilter that is accepting all nodes.
acceptNode(TreeModel, TreeNode) - Method in interface de.javagl.common.ui.tree.filtered.TreeModelFilter
Returns whether the given node should be contained in the filtered tree model.
add(JDesktopPaneLayout) - Method in class de.javagl.common.ui.utils.desktop.JDesktopPaneLayout
Add the given desktop pane layout as a child to this one
add(JDesktopPaneLayout, Object) - Method in class de.javagl.common.ui.utils.desktop.JDesktopPaneLayout
Add the given desktop pane layout as a child to this one
add(JDesktopPaneLayout, Object, int) - Method in class de.javagl.common.ui.utils.desktop.JDesktopPaneLayout
Add the given desktop pane layout as a child to this one
add(JInternalFrame) - Method in class de.javagl.common.ui.utils.desktop.JDesktopPaneLayout
Add the given internal frame to this layout manager.
add(JInternalFrame, Object) - Method in class de.javagl.common.ui.utils.desktop.JDesktopPaneLayout
Add the given internal frame to this layout manager.
add(JInternalFrame, Object, int) - Method in class de.javagl.common.ui.utils.desktop.JDesktopPaneLayout
Add the given internal frame to this layout manager.
addLayoutComponent(String, Component) - Method in class de.javagl.common.ui.layout.AspectLayout
 
addRow(Container, int, int, Component...) - Static method in class de.javagl.common.ui.GridBagLayouts
Add the given components as a new row in the given container, which must have a GridBagLayout.
addStateListener(CheckBoxTree.StateListener) - Method in class de.javagl.common.ui.tree.checkbox.CheckBoxTree
Add the given CheckBoxTree.StateListener to be informed about changes of the CheckBoxTree.State of a node.
addTo(JTabbedPane, String, JComponent) - Static method in class de.javagl.common.ui.CloseableTab
Adds a CloseableTab with the given title and component to the given tabbed pane.
addTo(JTabbedPane, String, JComponent, boolean) - Static method in class de.javagl.common.ui.CloseableTab
Adds a CloseableTab with the given title and component to the given tabbed pane.
addTo(JTabbedPane, String, JComponent, CloseableTab.CloseCallback) - Static method in class de.javagl.common.ui.CloseableTab
Adds a CloseableTab with the given title and component to the given tabbed pane.
addTreeModelListener(TreeModelListener) - Method in class de.javagl.common.ui.tree.filtered.FilteredTreeModel
 
adjustColumnWidths(JTable, int) - Static method in class de.javagl.common.ui.JTables
Adjust the preferred widths of the columns of the given table depending on the contents of the cells and headers.
applyButtonTreeCellRenderer(JTree, Function<Object, JButton>, Function<Object, String>) - Static method in class de.javagl.common.ui.JTrees
Apply a cell renderer to the given tree that will create cells that consist of a button and a label, based on a GenericTreeCellRenderer.
AspectLayout - Class in de.javagl.common.ui.layout
An implementation of the LayoutManager interface, for containers that contain components that should be as large as possible under the constraint that a given aspect ratio (width/height) is maintained for each of them.
AspectLayout(double) - Constructor for class de.javagl.common.ui.layout.AspectLayout
Creates a new AspectLayout for the given aspect.
AspectLayout(double, double) - Constructor for class de.javagl.common.ui.layout.AspectLayout
Creates a new AspectLayout for the given aspect and alignment.
asRectangle(Rectangle2D) - Static method in class de.javagl.common.ui.MoreSwingUtilities
Converts the given Rectangle2D into a Rectangle by casting all elements to int.

C

CheckBoxTree - Class in de.javagl.common.ui.tree.checkbox
Simple implementation of a JTree that contains a check box at each node, and allows querying the selection state of the nodes.
CheckBoxTree(TreeModel) - Constructor for class de.javagl.common.ui.tree.checkbox.CheckBoxTree
Creates a new checkbox tree with the given model
CheckBoxTree.State - Enum in de.javagl.common.ui.tree.checkbox
The selection state of a node
CheckBoxTree.StateListener - Interface in de.javagl.common.ui.tree.checkbox
Interface for classes that want to be informed about changes of the CheckBoxTree.State of nodes
ClassWithSimpleClassNameListCellRenderer - Class in de.javagl.common.ui.list.renderer
A ListCellRenderer that renders Class objects by showing their Class#getSimpleName.
ClassWithSimpleClassNameListCellRenderer() - Constructor for class de.javagl.common.ui.list.renderer.ClassWithSimpleClassNameListCellRenderer
 
CloseableTab - Class in de.javagl.common.ui
Implementation of a tab for a JTabbedPane that can be closed
CloseableTab.CloseCallback - Interface in de.javagl.common.ui
Interface for classes that may check whether a tab may be closed
collapseAll(JTree, boolean) - Static method in class de.javagl.common.ui.JTrees
Collapse all rows of the given tree
CollapsiblePanel - Class in de.javagl.common.ui.panel.collapsible
Simple implementation of a collapsible panel.
CollapsiblePanel(String) - Constructor for class de.javagl.common.ui.panel.collapsible.CollapsiblePanel
Creates a new collapsible panel with a FlowLayout and the given title.
CollapsiblePanel(String, boolean) - Constructor for class de.javagl.common.ui.panel.collapsible.CollapsiblePanel
Creates a new collapsible panel with a FlowLayout and the given title.
CollapsiblePanel(LayoutManager, String) - Constructor for class de.javagl.common.ui.panel.collapsible.CollapsiblePanel
Creates a new collapsible panel with the given layout and title
CollapsiblePanel(LayoutManager, String, boolean) - Constructor for class de.javagl.common.ui.panel.collapsible.CollapsiblePanel
Creates a new collapsible panel with the given layout and title
computeExpandedPaths(JTree) - Static method in class de.javagl.common.ui.JTrees
Compute the list of all tree paths in the given tree that are currently expanded
computeIndexInParent(Object) - Static method in class de.javagl.common.ui.JTrees
Computes the index that the given node has in its parent node.
containsLeafContainingStringIgnoreCase(String) - Static method in class de.javagl.common.ui.tree.filtered.TreeModelFilters
Returns a TreeModelFilter that is accepting all leaf nodes whose string representation contains the given string (ignoring upper/lower case), and all ancestors of these nodes
containsStringIgnoreCase(String) - Static method in class de.javagl.common.ui.tree.filtered.TreeModelFilters
Returns a TreeModelFilter that is accepting all nodes whose string representation contains the given string (ignoring upper/lower case), and all ancestors of these nodes
convertMouseEvent(Component, MouseEvent, Component) - Static method in class de.javagl.common.ui.MoreSwingUtilities
Implementation of SwingUtilities.convertMouseEvent( Component, MouseEvent, Component) that properly sets the button of the returned event.
convertPoint(Component, Point2D, Component) - Static method in class de.javagl.common.ui.MoreSwingUtilities
Wrapper for SwingUtilities#convertPoint that accepts a Point2D and not only a Point.
convertRowIndicesToModel(JTable, Iterable<? extends Integer>) - Static method in class de.javagl.common.ui.JTables
Convert all of the given view row indices to model row indices for the given table
convertRowIndicesToView(JTable, Iterable<? extends Integer>) - Static method in class de.javagl.common.ui.JTables
Convert all of the given model row indices to view row indices for the given table
countNodes(TreeModel) - Static method in class de.javagl.common.ui.JTrees
Count the number of nodes in the given tree model
create(TreeModel) - Static method in class de.javagl.common.ui.tree.filtered.FilteredTree
Creates a new filtered tree for the given (unfiltered!)
createChild() - Method in class de.javagl.common.ui.utils.desktop.JDesktopPaneLayout
Create a new desktop pane layout that may be added as a child to this layout
createSpinner(SpinnerModel, int) - Static method in class de.javagl.common.ui.JSpinners
Create a spinner with the given model, showing the given number of fraction digits for number models
createTreePathToRoot(TreeModel, Object) - Static method in class de.javagl.common.ui.JTrees
Returns the tree path from the given node to the root in the given tree model
createVerticalScrollPane(JComponent) - Static method in class de.javagl.common.ui.JScrollPanes
Creates a JScrollPane for vertically scrolling the given component.

D

de.javagl.common.ui - package de.javagl.common.ui
Utility classes related to Swing UI components, and extensions for several Swing components
de.javagl.common.ui.layout - package de.javagl.common.ui.layout
 
de.javagl.common.ui.list.renderer - package de.javagl.common.ui.list.renderer
 
de.javagl.common.ui.panel.collapsible - package de.javagl.common.ui.panel.collapsible
 
de.javagl.common.ui.table - package de.javagl.common.ui.table
 
de.javagl.common.ui.tree.checkbox - package de.javagl.common.ui.tree.checkbox
 
de.javagl.common.ui.tree.filtered - package de.javagl.common.ui.tree.filtered
Classes for filtered JTrees.
de.javagl.common.ui.tree.renderer - package de.javagl.common.ui.tree.renderer
Utility classes related to tree cell renderers
de.javagl.common.ui.utils.desktop - package de.javagl.common.ui.utils.desktop
A layout manager for a JDesktopPane

E

EnumListCellRenderer - Class in de.javagl.common.ui.list.renderer
A ListCellRenderer that renders Enum values with their name transformed from the constant naming scheme to a "nicer", camel-case naming: "SOME_ENUM_VALUE" will be transformed to "Some Enum Value"
EnumListCellRenderer() - Constructor for class de.javagl.common.ui.list.renderer.EnumListCellRenderer
 
expandAll(JTree) - Static method in class de.javagl.common.ui.JTrees
Expand all rows of the given tree.
expandAllFixedHeight(JTree) - Static method in class de.javagl.common.ui.JTrees
Expand all rows of the given tree, assuming a fixed height for the rows.

F

FilteredTree - Class in de.javagl.common.ui.tree.filtered
Utility class for maintaining a filtered JTree and its model.
FilteredTreeModel - Class in de.javagl.common.ui.tree.filtered
Implementation of a TreeModel that can be filtered with a TreeModelFilter
FilteredTreeModel(TreeModel) - Constructor for class de.javagl.common.ui.tree.filtered.FilteredTreeModel
Creates a new filtered tree model for the given delegate
findNode(TreeModel, Object) - Static method in class de.javagl.common.ui.JTrees
Returns the first node with the given user object in the tree with the given model.
fireTreeStructureChanged(Object, Object[], int[], Object[]) - Method in class de.javagl.common.ui.tree.filtered.FilteredTreeModel
Fires a treeStructureChanged event

G

GenericTreeCellRenderer - Class in de.javagl.common.ui.tree.renderer
Base implementation of a TreeCellRenderer that allows adding arbitrary components to the tree cells.
GenericTreeCellRenderer() - Constructor for class de.javagl.common.ui.tree.renderer.GenericTreeCellRenderer
 
getAllDescendants(TreeModel, Object) - Static method in class de.javagl.common.ui.JTrees
Return all descendants of the given node in the given tree model (not including the given node!)
getAllNodes(TreeModel) - Static method in class de.javagl.common.ui.JTrees
Return all nodes of the given tree model
getChild(Object, int) - Method in class de.javagl.common.ui.tree.filtered.FilteredTreeModel
 
getChildCount(Object) - Method in class de.javagl.common.ui.tree.filtered.FilteredTreeModel
 
getChildren(TreeModel, Object) - Static method in class de.javagl.common.ui.JTrees
Returns the children of the given node in the given tree model
getFilteredModel() - Method in class de.javagl.common.ui.tree.filtered.FilteredTree
Returns the (filtered) model of the tree
getIndexOfChild(Object, Object) - Method in class de.javagl.common.ui.tree.filtered.FilteredTreeModel
 
getLeafNodes(TreeModel) - Static method in class de.javagl.common.ui.JTrees
Returns a list containing all leaf nodes from the given tree model.
getLeafNodes(TreeModel, Object) - Static method in class de.javagl.common.ui.JTrees
Returns a list containing all leaf nodes from the given tree model that are descendants of the given node.
getListCellRendererComponent(JList<?>, Object, int, boolean, boolean) - Method in class de.javagl.common.ui.list.renderer.ClassWithSimpleClassNameListCellRenderer
 
getListCellRendererComponent(JList<?>, Object, int, boolean, boolean) - Method in class de.javagl.common.ui.list.renderer.EnumListCellRenderer
 
getListCellRendererComponent(JList<?>, Object, int, boolean, boolean) - Method in class de.javagl.common.ui.list.renderer.ObjectAsSimpleClassNameListCellRenderer
 
getMaximumSize() - Method in class de.javagl.common.ui.panel.collapsible.CollapsiblePanel
 
getMinimumSize() - Method in class de.javagl.common.ui.panel.collapsible.CollapsiblePanel
 
getParent(TreeModel, Object) - Static method in class de.javagl.common.ui.JTrees
Returns the parent of the given node in the given tree model.
getPreferredSize() - Method in class de.javagl.common.ui.panel.collapsible.CollapsiblePanel
 
getRoot() - Method in class de.javagl.common.ui.tree.filtered.FilteredTreeModel
 
getSelectionState(Object) - Method in class de.javagl.common.ui.tree.checkbox.CheckBoxTree
Returns the selection state of the given node, or null if the given object is not a node in this tree.
getTableCellRendererComponent(JTable, Object, boolean, boolean, int, int) - Method in class de.javagl.common.ui.table.SortOrderTableHeaderCellRenderer
 
getTree() - Method in class de.javagl.common.ui.tree.filtered.FilteredTree
Returns the tree
getTreeCellRendererComponent(JTree, Object, boolean, boolean, boolean, int, boolean) - Method in class de.javagl.common.ui.tree.renderer.GenericTreeCellRenderer
 
getUserObjectFromTreeNode(Object) - Static method in class de.javagl.common.ui.JTrees
Returns the user object from the given tree node.
getUserObjectFromTreePath(TreePath) - Static method in class de.javagl.common.ui.JTrees
Returns the user object from the last path component of the given tree path.
GridBagLayouts - Class in de.javagl.common.ui
Utility methods related to containers with a GridBagLayout
GuiUtils - Class in de.javagl.common.ui
Various GUI utility methods

I

invalidate() - Method in class de.javagl.common.ui.panel.collapsible.CollapsiblePanel
 
invokeOnEventDispatchThread(Runnable) - Static method in class de.javagl.common.ui.MoreSwingUtilities
Execute the given runnable on the event dispatch thread.
invokeOnEventDispatchThreadSync(Runnable) - Static method in class de.javagl.common.ui.MoreSwingUtilities
Execute the given runnable on the event dispatch thread.
isLeaf(Object) - Method in class de.javagl.common.ui.tree.filtered.FilteredTreeModel
 
isMinimized() - Method in class de.javagl.common.ui.panel.collapsible.CollapsiblePanel
Returns whether this panel is currently minimized (collapsed)

J

JDesktopPaneLayout - Class in de.javagl.common.ui.utils.desktop
A layout manager for JDesktopPanes.
JDesktopPaneLayout(JDesktopPane) - Constructor for class de.javagl.common.ui.utils.desktop.JDesktopPaneLayout
Creates a new desktop pane layout for the given desktop pane
JScrollPanes - Class in de.javagl.common.ui
Methods related to JScrollPanes
JSpinners - Class in de.javagl.common.ui
Methods related to JSpinners
JSplitPanes - Class in de.javagl.common.ui
Methods related to JSplitPanes
JTables - Class in de.javagl.common.ui
Utility methods related to tables
JTrees - Class in de.javagl.common.ui
Utility methods related to trees

L

layoutContainer(Container) - Method in class de.javagl.common.ui.layout.AspectLayout
 
LocationBasedAction - Class in de.javagl.common.ui
An AbstractAction that will be notified about the component and the location where a popup menu will be shown when it is contained in a popup menu that is triggered by a LocationBasedPopupHandler.
LocationBasedAction() - Constructor for class de.javagl.common.ui.LocationBasedAction
 
LocationBasedPopupHandler - Class in de.javagl.common.ui
A MouseListener that may show a popup menu, and prepare all LocationBasedActions that are contained in the menu items of the menu before it is shown.
LocationBasedPopupHandler(JPopupMenu) - Constructor for class de.javagl.common.ui.LocationBasedPopupHandler
Creates a new location based popup handler that shows the given popup menu

M

mayClose(Component) - Method in interface de.javagl.common.ui.CloseableTab.CloseCallback
Will be called when the button for closing the tab with the given component was clicked.
minimumLayoutSize(Container) - Method in class de.javagl.common.ui.layout.AspectLayout
 
MoreSwingUtilities - Class in de.javagl.common.ui
Utility methods based on methods from SwingUtilities
MoreSwingUtilities() - Constructor for class de.javagl.common.ui.MoreSwingUtilities
 
mousePressed(MouseEvent) - Method in class de.javagl.common.ui.LocationBasedPopupHandler
 
mouseReleased(MouseEvent) - Method in class de.javagl.common.ui.LocationBasedPopupHandler
 

O

ObjectAsSimpleClassNameListCellRenderer - Class in de.javagl.common.ui.list.renderer
A ListCellRenderer that renders objects by showing the Class#getSimpleName of their class.
ObjectAsSimpleClassNameListCellRenderer() - Constructor for class de.javagl.common.ui.list.renderer.ObjectAsSimpleClassNameListCellRenderer
 

P

preferredLayoutSize(Container) - Method in class de.javagl.common.ui.layout.AspectLayout
 
prepare(Object, JPanel) - Method in class de.javagl.common.ui.tree.renderer.GenericTreeCellRenderer
This method will be called in order to prepare the returned cell renderer component for displaying the given object.
prepareShow(Component, int, int) - Method in class de.javagl.common.ui.LocationBasedAction
Will be called by the LocationBasedPopupHandler before the popup menu is shown at the specified position on the given component.

R

remove(JDesktopPaneLayout) - Method in class de.javagl.common.ui.utils.desktop.JDesktopPaneLayout
Remove the given child layout
removeLayoutComponent(Component) - Method in class de.javagl.common.ui.layout.AspectLayout
 
removeStateListener(CheckBoxTree.StateListener) - Method in class de.javagl.common.ui.tree.checkbox.CheckBoxTree
removeTreeModelListener(TreeModelListener) - Method in class de.javagl.common.ui.tree.filtered.FilteredTreeModel
 

S

scrollToRow(JTable, int) - Static method in class de.javagl.common.ui.JTables
Scroll the given table so that the specified row is visible.
selectAll() - Method in class de.javagl.common.ui.tree.checkbox.CheckBoxTree
Select all nodes
setDeepEnabled(Component, boolean) - Static method in class de.javagl.common.ui.GuiUtils
Enables or disables the given component and all its children recursively
setDividerLocation(JSplitPane, double) - Static method in class de.javagl.common.ui.JSplitPanes
Set the location of the the given split pane to the given value later on the EDT, and validate the split pane
setFilter(TreeModelFilter) - Method in class de.javagl.common.ui.tree.filtered.FilteredTree
Set the filter of the model for the tree.
setFilter(TreeModelFilter) - Method in class de.javagl.common.ui.tree.filtered.FilteredTreeModel
Set the TreeModelFilter for this model.
setInputModel(TreeModel) - Method in class de.javagl.common.ui.tree.filtered.FilteredTree
Set the (unfiltered) model for the tree
setLayout(LayoutManager) - Method in class de.javagl.common.ui.utils.desktop.JDesktopPaneLayout
Set the delegate layout manager for this layout
setMinimized(boolean) - Method in class de.javagl.common.ui.panel.collapsible.CollapsiblePanel
Set the new state of this panel
setSelectionState(Object, CheckBoxTree.State) - Method in class de.javagl.common.ui.tree.checkbox.CheckBoxTree
Set the selection state of the given node
setSpinnerDraggingEnabled(JSpinner, boolean) - Static method in class de.javagl.common.ui.JSpinners
Set whether the value of the given spinner may be changed with mouse drags
SortOrderTableHeaderCellRenderer - Class in de.javagl.common.ui.table
A TableCellRenderer that shows indicators of the sort order of a table for multiple sorting columns
SortOrderTableHeaderCellRenderer(TableCellRenderer) - Constructor for class de.javagl.common.ui.table.SortOrderTableHeaderCellRenderer
Creates a new renderer with the given delegate.
stateChanged(Object, CheckBoxTree.State, CheckBoxTree.State) - Method in interface de.javagl.common.ui.tree.checkbox.CheckBoxTree.StateListener
Will be called when the CheckBoxTree.State of the given node changed

T

toggleSortOrder(int) - Method in class de.javagl.common.ui.table.TristateTableRowSorter
 
toString() - Method in class de.javagl.common.ui.layout.AspectLayout
 
translatePath(TreeModel, TreePath) - Static method in class de.javagl.common.ui.JTrees
Translates one TreePath to a new TreeModel.
translatePath(TreeModel, TreePath, BiPredicate<Object, Object>) - Static method in class de.javagl.common.ui.JTrees
Translates one TreePath to a new TreeModel.
TreeModelFilter - Interface in de.javagl.common.ui.tree.filtered
Interface for a filter of a tree model.
TreeModelFilters - Class in de.javagl.common.ui.tree.filtered
Utility methods for creating TreeModelFilter instances
TristateTableRowSorter<M extends TableModel> - Class in de.javagl.common.ui.table
Implementation of a TableRowSorter that does not only toggle between ASCENDING and DESCENDING, but between ASCENDING, DESCENDING and "unsorted"
TristateTableRowSorter(M) - Constructor for class de.javagl.common.ui.table.TristateTableRowSorter
Create a new sorter for the given model

U

unselectAll() - Method in class de.javagl.common.ui.tree.checkbox.CheckBoxTree
Unselect all nodes

V

validate() - Method in class de.javagl.common.ui.utils.desktop.JDesktopPaneLayout
Validate the layout after internal frames have been added or removed
valueForPathChanged(TreePath, Object) - Method in class de.javagl.common.ui.tree.filtered.FilteredTreeModel
 
valueOf(String) - Static method in enum de.javagl.common.ui.tree.checkbox.CheckBoxTree.State
Returns the enum constant of this type with the specified name.
values() - Static method in enum de.javagl.common.ui.tree.checkbox.CheckBoxTree.State
Returns an array containing the constants of this enum type, in the order they are declared.

W

wrapCollapsible(String, JComponent) - Static method in class de.javagl.common.ui.GuiUtils
Wrap the given component into a CollapsiblePanel with the given title
wrapFlow(JComponent) - Static method in class de.javagl.common.ui.GuiUtils
Wrap the given component into a panel with flow layout
wrapTitled(String, JComponent) - Static method in class de.javagl.common.ui.GuiUtils
Wrap the given component into a panel with a titled border with the given title
A C D E F G I J L M O P R S T U V W 
Skip navigation links

Copyright © 2018. All rights reserved.