|
JComponentPack 1.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.zfqjava.swing.JBean
com.zfqjava.swing.JDataTableBean
public class JDataTableBean
JDataTableBean
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
static String |
MAIN_MENUBAR
Identifies the main menubar. |
static String |
MAIN_TOOLBAR
Identifies the main toolbar. |
static String |
STYLE_TOOLBAR
Identifies the style toolbar. |
| Fields inherited from class com.zfqjava.swing.JBean |
|---|
ABOUT, CLEAR, CLEAR_ALL, COPY, CUT, EXIT, EXPORT, FILE, FIND, FIND_NEXT, HELP, IMPORT, NEW, OPEN, PAGE_SETUP, PASTE, PRINT, PRINT_PREVIEW, REDO, REPLACE, SAVE, SAVE_AS, SELECT_ALL, SPELL, TIP, TOOL, UNDO, VIEW |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.WindowConstants |
|---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
JDataTableBean()
|
|
| Method Summary | |
|---|---|
protected JDataGrid |
createDataGrid()
Creates a datagrid for this bean. |
protected JFrame |
createFrame()
Creates a frame for the JBean. |
protected Printable |
createPrintable(JDataGrid dataGrid)
Creates the printable for the specified data grid. |
Map |
createPrintProperties()
Creates the default print properties. |
protected JStatusBar |
createStatusBar()
Creates a status bar. |
void |
doChangeOption()
Note:This method is not common API, please do not rely on this method even existing. |
void |
doDeleteRow()
|
void |
doExport()
|
void |
doFind()
|
void |
doFindNext()
|
void |
doFirstRow()
|
void |
doGoPage()
|
void |
doGoRow()
|
void |
doInsertRow()
|
void |
doLastRow()
|
void |
doNextPage()
|
void |
doNextRow()
|
void |
doOption()
Note:This method is not common API, please do not rely on this method even existing. |
void |
doPageSetup()
|
void |
doPreferences()
Note:This method is not common API, please do not rely on this method even existing. |
void |
doPreviousPage()
|
void |
doPreviousRow()
|
void |
doPrint()
|
void |
doPrintPreview()
|
void |
doQuery()
Note:This method is not common API, please do not rely on this method even existing. |
void |
doRefreshRow()
|
void |
doReplace()
|
void |
doSelectAll()
|
void |
doSpell()
|
void |
doViewColumnHeader(ActionEvent e)
|
void |
doViewRowHeader(ActionEvent e)
|
void |
doViewStatusBar(ActionEvent e)
|
void |
doViewToolBar(ActionEvent e)
|
JDataGrid |
getDataGrid()
Returns the datagrid for this bean. |
JMenuBar |
getMenuBar(String name)
Returns the menubar for the specified name. |
JPrintPreview |
getPrintPreview()
Returns the print preview component. |
Map |
getPrintProperties()
Returns the print properties. |
JToolBar |
getToolBar(String name)
Returns the toolbar for the specified name. |
static void |
main(String[] args)
|
void |
setDataGrid(JDataGrid dataGrid)
Sets the datagrid for this bean. |
void |
setPrintProperties(Map printProperties)
Sets the print properties. |
void |
updateUI()
|
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String MAIN_MENUBAR
public static final String MAIN_TOOLBAR
public static final String STYLE_TOOLBAR
| Constructor Detail |
|---|
public JDataTableBean()
| Method Detail |
|---|
public void updateUI()
updateUI in class JPanelprotected JFrame createFrame()
JBeanJBean.
createFrame in class JBeanJBean.showFrame()protected JStatusBar createStatusBar()
JBean
createStatusBar in class JBeanpublic JMenuBar getMenuBar(String name)
name - the menubar name
public JToolBar getToolBar(String name)
name - the toolbar name
public static void main(String[] args)
public void setDataGrid(JDataGrid dataGrid)
dataGrid - the datagridpublic JDataGrid getDataGrid()
protected JDataGrid createDataGrid()
public void doChangeOption()
public void doExport()
public void doPageSetup()
public void doPrint()
public void doPrintPreview()
public void doFind()
public void doFindNext()
public void doReplace()
public void doSpell()
public void doSelectAll()
public void doViewToolBar(ActionEvent e)
public void doViewStatusBar(ActionEvent e)
public void doViewRowHeader(ActionEvent e)
public void doViewColumnHeader(ActionEvent e)
public void doQuery()
public void doPreferences()
public void doOption()
public void doNextPage()
public void doPreviousPage()
public void doGoPage()
public void doLastRow()
public void doFirstRow()
public void doNextRow()
public void doPreviousRow()
public void doGoRow()
public void doInsertRow()
public void doDeleteRow()
public void doRefreshRow()
public JPrintPreview getPrintPreview()
protected Printable createPrintable(JDataGrid dataGrid)
dataGrid - the dataGrid
public Map getPrintProperties()
public void setPrintProperties(Map printProperties)
printProperties - the print propertiespublic Map createPrintProperties()
|
JComponentPack 1.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||