|
||||||||||
| 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.extentech.ExtenXLS.ui.WorkBookPanel
public class WorkBookPanel
Provides a tabbed panel for WorkBooks
java.swing.table.*,
WorkBookHandle,
Serialized Form| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.BaselineResizeBehavior |
| Field Summary | |
|---|---|
MemeWorkBook |
book
|
com.extentech.swingtools.BrowserInternalFrame |
browser
|
boolean |
completed
|
boolean |
DEBUG
|
int |
debuglevel
|
String |
finpath
|
String |
foutpath
|
Vector |
listeners
|
JInternalFrame |
parentJInternalFrame
|
com.extentech.swingtools.ProgressDialog |
progdialog
|
int |
progress
|
JTabbedPane |
WorkSheetTabbedPanel
|
| Fields inherited from class javax.swing.JComponent |
|---|
TOOL_TIP_TEXT_KEY, 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 java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
WorkBookPanel()
Default constructor |
|
| Method Summary | |
|---|---|
void |
addTableModelListener(TableModelListener t)
|
com.extentech.swingtools.BrowserInternalFrame |
getBrowser()
|
JTextField |
getCellTextField()
|
JInternalFrame |
getParentJInternalFrame()
|
Vector |
getSheetRenderers()
return a vector of all of the sheet renderers |
List |
getSheetTables()
|
MemeWorkBook |
getWorkBook()
Get the current WorkBookHandle |
void |
initNewWorkBook()
Initializes a new, empty WorkBook |
void |
initSheets(MemeWorkBook bk)
|
void |
initXLS()
initXLS file finpath |
void |
initXLS(byte[] buf)
initXLS from workbook bytes |
void |
nodeChanged(ExtenBeanTreeNode node)
|
void |
saveBookToFile()
Saves the current workbook to a file. |
void |
setBrowser(com.extentech.swingtools.BrowserInternalFrame frame)
|
void |
setCellTextField(JTextField jt)
|
void |
setDebugLevel(int l)
Set the debug level |
void |
setParentJInternalFrame(JInternalFrame frame)
|
void |
setSheetRenderers(Vector r)
return a vector of all of the sheet renderers |
void |
setXLSOutputFilePath(String f)
Set the output path to the XLS file |
void |
setXLSTableClass(Class cx)
|
void |
setXLSTemplateFilePath(String f)
Set the path to the XLS file |
void |
tableChanged(TableModelEvent e)
fire a TableModelEvent |
void |
treeNodesChanged(TreeModelEvent e)
|
void |
valueChanged(TreeSelectionEvent e)
Called whenever the value of the selection changes. |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public com.extentech.swingtools.BrowserInternalFrame browser
public com.extentech.swingtools.ProgressDialog progdialog
public int progress
public boolean completed
public boolean DEBUG
public JTabbedPane WorkSheetTabbedPanel
public MemeWorkBook book
public int debuglevel
public String finpath
public String foutpath
public JInternalFrame parentJInternalFrame
public Vector listeners
| Constructor Detail |
|---|
public WorkBookPanel()
| Method Detail |
|---|
public void treeNodesChanged(TreeModelEvent e)
public void nodeChanged(ExtenBeanTreeNode node)
nodeChanged in interface ExtenBeanTreeChangeListenerpublic void valueChanged(TreeSelectionEvent e)
valueChanged in interface TreeSelectionListenere - the event that characterizes the change.public void tableChanged(TableModelEvent e)
tableChanged in interface TableModelListenerpublic void addTableModelListener(TableModelListener t)
public void setXLSTemplateFilePath(String f)
f - public void setXLSOutputFilePath(String f)
f - public void setDebugLevel(int l)
l - public MemeWorkBook getWorkBook()
public void setCellTextField(JTextField jt)
public void saveBookToFile()
public void initXLS(byte[] buf)
throws Exception
Exception
public void initXLS()
throws Exception
Exceptionpublic void initNewWorkBook()
public void setSheetRenderers(Vector r)
public Vector getSheetRenderers()
public void setXLSTableClass(Class cx)
public void initSheets(MemeWorkBook bk)
public JTextField getCellTextField()
public com.extentech.swingtools.BrowserInternalFrame getBrowser()
public void setBrowser(com.extentech.swingtools.BrowserInternalFrame frame)
frame - public JInternalFrame getParentJInternalFrame()
public void setParentJInternalFrame(JInternalFrame frame)
frame - public List getSheetTables()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||