com.togethersoft.openapi.ide.inspector.util.table
Class TableUtil
- public class TableUtil
Utility class.
- Author:
- TogetherSoft
| Method Summary |
static JPanel | getStandardButtonTablePanel(Component mainComponent, JButton addButton, JButton removeButton, String title) Returns JPanel with the main component occupying all the area with two specified JButtons in the upper-right conner. |
static void | setUpStandardTable(JTable table, JScrollPane scrollPane) Set up the specified JTable so that it conforms to the Together UI guideline. |
getStandardButtonTablePanel
public static JPanel getStandardButtonTablePanel(Component mainComponent, JButton addButton, JButton removeButton, String title)
- Returns JPanel with the main component occupying all the area with two specified JButtons in the upper-right conner.
setUpStandardTable
public static void setUpStandardTable(JTable table, JScrollPane scrollPane)
- Set up the specified JTable so that it conforms to the Together UI guideline.
- Parameters:
- scrollPane - if not null this JScrollPane will be configured to contain the specified JTable