com.togethersoft.openapi.ide.inspector.util.table
Class TableUtil


public class TableUtil

Utility class.

Author:
TogetherSoft

Method Summary
 static JPanelgetStandardButtonTablePanel(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 voidsetUpStandardTable(JTable table, JScrollPane scrollPane)
           Set up the specified JTable so that it conforms to the Together UI guideline.

Method Detail

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