public class DataSite extends java.lang.Object implements SiteChangeListener1, SiteChangeListener2, SiteChangeListener3
DataSite
class provides functionality for data site processing.Constructor and Description |
---|
DataSite(MainDialog dialog)
The constructor
DataSite creates a new instance(object) of the class. |
DataSite(MainDialog dialog,
java.awt.Font standard_font)
The constructor
DataSite creates a new instance(object) of the class. |
Modifier and Type | Method and Description |
---|---|
void |
addSiteChangeListener_1(SiteChangeListener1 listener)
The method
addSiteChangedListener_1 adds a site change listener
to the listener list. |
void |
addSiteChangeListener_2(SiteChangeListener2 listener)
The method
addSiteChangedListener_2 adds a site change listener
to the listener list. |
void |
addSiteChangeListener_3(SiteChangeListener3 listener)
The method
addSiteChangedListener_3 adds a site change listener
to the listener list. |
void |
calcDimension(int width,
int height)
The method
calcDimension calculates the dimension of the controls. |
void |
callChooseFromTable(java.lang.String tabel_name)
The method
callChooseFromTable performs the choose button functionality,
if choose button in table is pressed. |
void |
callDeleteFromList(java.lang.String list_name,
int row)
The method
callDeleteFromList performs the deletion in a list. |
void |
callDeleteFromTable(java.lang.String tabel_name)
The method
callDeleteFromTable performs the delete button functionality,
if delete button in table is pressed. |
void |
callDeleteFromTable(java.lang.String tabel_name,
java.lang.String flag,
java.lang.String flag2)
The method
callDeleteFromTable performs the delete button functionality,
if delete button in table is pressed. |
void |
callDeleteQuestionFromTable(java.lang.String tabel_name)
The method
callDeleteQuestionFromTable performs the delete question,
if delete button in table is pressed. |
void |
callDeleteQuestionFromTable(java.lang.String tabel_name,
java.lang.String flag,
java.lang.String flag2)
The method
callDeleteQuestionFromTable performs the delete question,
if delete button in table is pressed. |
void |
callExportFromTable(java.lang.String tabel_name)
The method
callImportFromTable performs the list button functionality,
if use button in table is pressed. |
void |
callImportFromTable(java.lang.String tabel_name)
The method
callImportFromTable performs the list button functionality,
if use button in table is pressed. |
void |
callInsertFromList(java.lang.String list_name)
The method
callInsertFromList performs the deletion in a list. |
void |
callListFromTable(java.lang.String tabel_name)
The method
callListFromTable performs the list button functionality,
if use button in table is pressed. |
void |
callUseFromTable(java.lang.String tabel_name)
The method
callUseFromTable performs the use button functionality,
if use button in table is pressed. |
void |
callUseFromTable(java.lang.String tabel_name,
java.lang.String flag,
java.lang.String flag2)
The method
callUseFromTable performs the use button functionality,
if use button in table is pressed. |
void |
changeSiteColor()
The method
changeSiteColor changes the color of the site
and the concerning controls. |
AWButton |
createButton(javax.swing.JPanel pnl,
int row,
int corr_row,
int col,
int corr_col,
int layout,
java.lang.String tool_tip_text)
The method
createCombo creates a combo box object. |
javax.swing.JButton |
createButton(javax.swing.JPanel pnl,
int row,
int col,
int layout,
java.lang.String tool_tip_text)
The method
createCombo creates a combo box object. |
javax.swing.JCheckBox |
createCheckBox(javax.swing.JPanel pnl)
The method
createCheckBox creates a check box field object. |
javax.swing.JCheckBox |
createCheckBox(javax.swing.JPanel pnl,
int column)
The method
createCheckBox creates a check box field object. |
AWCombo |
createCombo(javax.swing.JPanel pnl)
The method
createCombo creates a combo box object. |
AWCombo |
createCombo(javax.swing.JPanel pnl,
int column,
int width)
The method
createCombo creates a combo box object. |
void |
createCurrentData()
The method
createCurrentData get data for the controls. |
void |
createCurrentData(java.lang.String uniqueid)
The method
createCurrentData get data for the controls. |
javax.swing.JLabel |
createHead(javax.swing.JPanel pnl,
java.lang.String text)
The method
createHead creates the header label object. |
javax.swing.JLabel |
createHead(javax.swing.JPanel pnl,
java.lang.String text,
int len)
The method
createHead creates the header label object. |
javax.swing.JLabel |
createLabel(javax.swing.JPanel pnl,
java.lang.String text)
The method
createLabel creates a label object. |
javax.swing.JLabel |
createLabelAt(javax.swing.JPanel pnl,
java.lang.String text,
int column)
The method
createLabelMid creates a label object
on the defined position of a site. |
javax.swing.JLabel |
createLabelField(javax.swing.JPanel pnl,
int column,
int width,
boolean numeric)
The method
createLabelField creates a label object as a data field. |
javax.swing.JLabel |
createLabelMid(javax.swing.JPanel pnl,
java.lang.String text)
The method
createLabelMid creates a label object
on the middle position of a site. |
javax.swing.JLabel |
createLabelMid(javax.swing.JPanel pnl,
java.lang.String text,
int mid)
The method
createLabelMid creates a label object
on the middle position of a site. |
javax.swing.JList |
createList(javax.swing.JPanel pnl)
The method
createList creates a list object. |
javax.swing.JList |
createList(javax.swing.JPanel pnl,
int column)
The method
createList creates a list object. |
AWMessage |
createMessage(javax.swing.JPanel pnl)
The method
createMessage creates a message label object. |
void |
createNewData()
The method
createNewData deletes the data of the controls. |
javax.swing.JPanel |
createPanel(int width,
int height)
The method
createPanel creates the panel object. |
javax.swing.JRadioButton |
createRadioButton(javax.swing.JPanel pnl)
The method
createRadioButton creates a radio button object. |
javax.swing.JRadioButton |
createRadioButton(javax.swing.JPanel pnl,
int column)
The method
createRadioButton creates a radio button object. |
AWRtfEditor |
createRtfEditor(javax.swing.JPanel pnl,
int width,
int height)
The method
createRtfEditor creates a rtf editor. |
javax.swing.JScrollPane |
createScrollPane(javax.swing.JPanel ppanel,
int width,
int height)
The method
createScrollPane creates the panel object with scroll bars. |
javax.swing.JSeparator |
createSeparator(javax.swing.JPanel pnl)
The method
createSeparator creates a separator object. |
javax.swing.JSeparator |
createSeparator(javax.swing.JPanel pnl,
int width)
The method
createSeparator creates a separator object. |
AWTableModel |
createTable(java.lang.String name,
javax.swing.JPanel pnl,
java.util.ArrayList data_list,
java.util.ArrayList field_list,
int column,
int row,
int width,
int height,
int work_delete,
java.util.Hashtable status,
java.util.Hashtable column_width,
java.util.Hashtable row_color)
The method
createTable creates a table object. |
AWTableModel |
createTable(java.lang.String name,
javax.swing.JPanel pnl,
java.util.ArrayList data_list,
java.util.ArrayList field_list,
int column,
int row,
int width,
int corr_width,
int height,
int corr_height,
int work_delete,
java.lang.String flag,
java.lang.String flag2,
java.util.Hashtable status,
java.util.Hashtable column_width,
java.util.Hashtable row_color,
java.awt.Font font)
The method
createTable creates a table object. |
AWTableModel |
createTable(java.lang.String name,
javax.swing.JPanel pnl,
n4e.core.database.DbAccessRead data,
java.lang.String fields,
java.util.Hashtable status,
java.util.Hashtable column_width,
java.util.Hashtable row_color)
The method
createTable creates a table object
with work and delete buttons each row. |
AWTableModel |
createTable(java.lang.String name,
javax.swing.JPanel pnl,
n4e.core.database.DbAccessRead data,
java.lang.String fields,
int work_delete,
java.util.Hashtable status,
java.util.Hashtable column_width,
java.util.Hashtable row_color)
The method
createTable creates a table object
with work and delete buttons each row. |
AWTableModel |
createTable(java.lang.String name,
javax.swing.JPanel pnl,
n4e.core.database.DbAccessRead data,
java.lang.String fields,
int column,
int row,
int width,
int height,
int work_delete,
java.util.Hashtable status,
java.util.Hashtable column_width)
The method
createTable creates a table object
with work and delete buttons each row. |
AWTableModel |
createTable(java.lang.String name,
javax.swing.JPanel pnl,
n4e.core.database.DbAccessRead data,
java.lang.String fields,
int column,
int row,
int width,
int corr_width,
int height,
int corr_height,
int work_delete,
java.util.Hashtable status,
java.util.Hashtable column_width,
java.util.Hashtable row_color,
java.awt.Font font)
The method
createTable creates a table object
with work and delete buttons each row. |
AWTableModel |
createTable(java.lang.String name,
javax.swing.JPanel pnl,
n4e.core.database.DbAccessRead data,
java.lang.String fields,
int column,
int row,
int width,
int corr_width,
int height,
int corr_height,
int work_delete,
java.lang.String flag,
java.lang.String flag2,
java.util.Hashtable status,
java.util.Hashtable column_width,
java.util.Hashtable row_color,
java.awt.Font font)
The method
createTable creates a table object
with work and delete buttons each row. |
javax.swing.JTextArea |
createTextArea(javax.swing.JPanel pnl,
int width,
int height)
The method
createTextArea creates a text area object. |
javax.swing.JTextArea |
createTextArea(javax.swing.JPanel pnl,
int width,
int height,
boolean line_wrap)
The method
createTextArea creates a text area object. |
AWTextArea |
createTextArea(javax.swing.JPanel pnl,
int width,
int height,
boolean line_wrap,
int menu_type)
The method
createTextArea creates a text area object. |
javax.swing.JTextArea |
createTextArea(javax.swing.JPanel pnl,
int width,
int height,
int menu_type)
The method
createTextArea creates a text area object. |
AWTextField |
createTextField(javax.swing.JPanel pnl)
The method
createTextField creates a text field object. |
AWTextField |
createTextField(javax.swing.JPanel pnl,
int column,
int width)
The method
createTextField creates a text field object. |
void |
fireSiteChangeEvent_1(java.lang.String data1)
The method
fireSiteChangeEvent_1 fires the site change event. |
void |
fireSiteChangeEvent_2(java.lang.String data1)
The method
fireSiteChangeEvent_2 fires the site change event. |
void |
fireSiteChangeEvent_3(java.lang.String data1)
The method
fireSiteChangeEvent_3 fires the site change event. |
void |
hasSiteChangedPressed_1(SiteChangeEvent sce)
The method
hasSiteChangedPressed_1 processed,
if a button is pressed for site change. |
void |
hasSiteChangedPressed_2(SiteChangeEvent sce)
The method
hasSiteChangedPressed_2 processed,
if a button is pressed for site change. |
void |
hasSiteChangedPressed_3(SiteChangeEvent sce)
The method
hasSiteChangedPressed_3 processed,
if a button is pressed for site change. |
void |
setGetData(java.lang.String uniqueid)
The method
setGetData sets the data coming from get window. |
int |
showDeleteDialog()
The method
showDeleteDialog shows a window with the delete question. |
int |
showDeleteDialog(java.lang.String message)
The method
showDeleteDialog shows a window with the delete question. |
public javax.swing.JPanel panel
public static final int char_factor
public static final int BUTTON_USE
public static final int BUTTON_DELETE
public static final int BUTTON_NEW
public static final int BUTTON_LIST
public static final int BUTTON_BACK
public static final int BUTTON_SAVE
public static final int BUTTON_CHECK
public static final int BUTTON_UPLOAD
public static final int BUTTON_USE_AND_DELETE
public static final int BUTTON_PRINT
public static final int BUTTON_IMPORT
public static final int BUTTON_UP
public static final int BUTTON_DOWN
public static final int BUTTON_COPY
public static final int BUTTON_SEARCH
public static final int BUTTON_CHOOSE
public static final int BUTTON_PHOTO
public static final int BUTTON_NO
public static final int BUTTON_MATRIX
public static final int BUTTON_TIME
public static final int BUTTON_WEB
public static final int BUTTON_TEMP
public static final int BUTTON_CAMERA
public static final int BUTTON_SORT
public static final int BUTTON_USE_LIST_AND_DELETE
public static final int BUTTON_MINUS
public static final int BUTTON_PLUS
public static final int BUTTON_START
public static final int BUTTON_STOP
public static final int BUTTON_EXPORT
public static final int BUTTON_HELP
public static final int BUTTON_IMPORT_EXPORT
public int label_column
public int label_line
public int label_line_count
public int label_hight
public int label_width
public int control_column
public int control_hight
public int control_width
public AWMessage message
public Tool4Dialog t4dialog
public boolean set_horizontal_scrollbar
public AWScrollPane tableScrollPane
public java.util.ArrayList<AWScrollPane> table_scrollpane_list
public javax.swing.JScrollPane textScrollPane
public javax.swing.JScrollPane editorScrollPane
public SiteChangeListener1 site_change_listener_1
public SiteChangeListener2 site_change_listener_2
public SiteChangeListener3 site_change_listener_3
public javax.swing.JPanel pnlScreen
public javax.swing.JScrollPane sclScreen
public javax.swing.JTable the_table
public DataSite(MainDialog dialog, java.awt.Font standard_font)
DataSite
creates a new instance(object) of the class.dialog
- the calling dialog.standard_font
- the font to use.public DataSite(MainDialog dialog)
DataSite
creates a new instance(object) of the class.dialog
- the calling dialog.public void calcDimension(int width, int height)
calcDimension
calculates the dimension of the controls.width
- the width of the panel.height
- the height of the panel.public javax.swing.JPanel createPanel(int width, int height) throws java.lang.Exception
createPanel
creates the panel object.width
- the width of the panel.height
- the height of the panel.java.lang.Exception
- if errorpublic javax.swing.JScrollPane createScrollPane(javax.swing.JPanel ppanel, int width, int height) throws java.lang.Exception
createScrollPane
creates the panel object with scroll bars.ppanel
- the panel.width
- the width of the panel.height
- the height of the panel.java.lang.Exception
- if errorpublic javax.swing.JLabel createHead(javax.swing.JPanel pnl, java.lang.String text) throws java.lang.Exception
createHead
creates the header label object.pnl
- the current panel object.text
- the label text.java.lang.Exception
- if errorpublic javax.swing.JLabel createHead(javax.swing.JPanel pnl, java.lang.String text, int len) throws java.lang.Exception
createHead
creates the header label object.pnl
- the current panel object.text
- the label text.len
- the length of the header box in character.java.lang.Exception
- if errorpublic javax.swing.JLabel createLabel(javax.swing.JPanel pnl, java.lang.String text)
createLabel
creates a label object.pnl
- the current panel object.text
- the label text.public javax.swing.JLabel createLabelMid(javax.swing.JPanel pnl, java.lang.String text, int mid)
createLabelMid
creates a label object
on the middle position of a site.pnl
- the current panel object.text
- the label text.mid
- the middle position.public javax.swing.JLabel createLabelMid(javax.swing.JPanel pnl, java.lang.String text)
createLabelMid
creates a label object
on the middle position of a site.pnl
- the current panel object.text
- the label text.public javax.swing.JLabel createLabelAt(javax.swing.JPanel pnl, java.lang.String text, int column)
createLabelMid
creates a label object
on the defined position of a site.pnl
- the current panel object.text
- the label text.column
- the label column.public javax.swing.JLabel createLabelField(javax.swing.JPanel pnl, int column, int width, boolean numeric)
createLabelField
creates a label object as a data field.pnl
- the current panel object.column
- the site column, if 0 then take the control_column data field.width
- the width of the label field.numeric
- if true, set alignment to right.public javax.swing.JSeparator createSeparator(javax.swing.JPanel pnl)
createSeparator
creates a separator object.pnl
- the current panel object.public javax.swing.JSeparator createSeparator(javax.swing.JPanel pnl, int width)
createSeparator
creates a separator object.pnl
- the current panel object.width
- the width of the separator.public AWMessage createMessage(javax.swing.JPanel pnl) throws java.lang.Exception
createMessage
creates a message label object.pnl
- the current panel object.java.lang.Exception
- if errorpublic AWTextField createTextField(javax.swing.JPanel pnl) throws java.lang.Exception
createTextField
creates a text field object.pnl
- the current panel object.java.lang.Exception
- if errorpublic AWTextField createTextField(javax.swing.JPanel pnl, int column, int width) throws java.lang.Exception
createTextField
creates a text field object.pnl
- the current panel object.column
- column.width
- the width of the control.java.lang.Exception
- if errorpublic javax.swing.JTextArea createTextArea(javax.swing.JPanel pnl, int width, int height) throws java.lang.Exception
createTextArea
creates a text area object.pnl
- the current panel object.width
- the control width.height
- the control height.java.lang.Exception
- if errorpublic javax.swing.JTextArea createTextArea(javax.swing.JPanel pnl, int width, int height, int menu_type) throws java.lang.Exception
createTextArea
creates a text area object.pnl
- the current panel object.width
- the control width.height
- the control height.menu_type
- the menu type of the text area.java.lang.Exception
- if errorpublic javax.swing.JTextArea createTextArea(javax.swing.JPanel pnl, int width, int height, boolean line_wrap) throws java.lang.Exception
createTextArea
creates a text area object.pnl
- the current panel object.width
- the control width.height
- the control height.line_wrap,
- true do line wrap.java.lang.Exception
- if errorpublic AWTextArea createTextArea(javax.swing.JPanel pnl, int width, int height, boolean line_wrap, int menu_type) throws java.lang.Exception
createTextArea
creates a text area object.pnl
- the current panel object.width
- the control width.height
- the control height.line_wrap,
- true do line wrap.menu_type
- the menu type of the text area.java.lang.Exception
- if errorpublic AWCombo createCombo(javax.swing.JPanel pnl) throws java.lang.Exception
createCombo
creates a combo box object.pnl
- the current panel object.java.lang.Exception
- if errorpublic AWCombo createCombo(javax.swing.JPanel pnl, int column, int width) throws java.lang.Exception
createCombo
creates a combo box object.pnl
- the current panel object.column
- the control column.width
- the control width.java.lang.Exception
- if errorpublic javax.swing.JCheckBox createCheckBox(javax.swing.JPanel pnl, int column) throws java.lang.Exception
createCheckBox
creates a check box field object.pnl
- the current panel object.column
- columnjava.lang.Exception
- if errorpublic javax.swing.JCheckBox createCheckBox(javax.swing.JPanel pnl) throws java.lang.Exception
createCheckBox
creates a check box field object.pnl
- the current panel object.java.lang.Exception
- if errorpublic javax.swing.JRadioButton createRadioButton(javax.swing.JPanel pnl, int column) throws java.lang.Exception
createRadioButton
creates a radio button object.pnl
- the current panel object.column
- columnjava.lang.Exception
- if errorpublic javax.swing.JRadioButton createRadioButton(javax.swing.JPanel pnl) throws java.lang.Exception
createRadioButton
creates a radio button object.pnl
- the current panel object.java.lang.Exception
- if errorpublic AWButton createButton(javax.swing.JPanel pnl, int row, int corr_row, int col, int corr_col, int layout, java.lang.String tool_tip_text) throws java.lang.Exception
createCombo
creates a combo box object.pnl
- the current panel object.row
- the row to be placed on the site.corr_row
- the correction of the row.col
- the column to be placed on the site.corr_col
- the correction of the column.layout
- the button layout.tool_tip_text
- the text for the toll tip..java.lang.Exception
- if errorpublic javax.swing.JButton createButton(javax.swing.JPanel pnl, int row, int col, int layout, java.lang.String tool_tip_text) throws java.lang.Exception
createCombo
creates a combo box object.pnl
- the current panel object.row
- the row to be placed on the site.col
- the column to be placed on the site.layout
- the button layout.tool_tip_text
- the text for the toll tip..java.lang.Exception
- if errorpublic javax.swing.JList createList(javax.swing.JPanel pnl) throws java.lang.Exception
createList
creates a list object.pnl
- the current panel object.java.lang.Exception
- if errorpublic javax.swing.JList createList(javax.swing.JPanel pnl, int column) throws java.lang.Exception
createList
creates a list object.pnl
- the current panel object.column
- column.java.lang.Exception
- if errorpublic void setGetData(java.lang.String uniqueid) throws java.lang.Exception
setGetData
sets the data coming from get window.uniqueid
- the current uniqueid.java.lang.Exception
- if errorpublic void callUseFromTable(java.lang.String tabel_name) throws java.lang.Exception
callUseFromTable
performs the use button functionality,
if use button in table is pressed.tabel_name
- the name of the belonging table.java.lang.Exception
- if errorpublic void callUseFromTable(java.lang.String tabel_name, java.lang.String flag, java.lang.String flag2) throws java.lang.Exception
callUseFromTable
performs the use button functionality,
if use button in table is pressed.tabel_name
- the name of the belonging table.flag
- a button flag to identify the model.flag2
- a button flag to identify the model.java.lang.Exception
- if errorpublic void callListFromTable(java.lang.String tabel_name) throws java.lang.Exception
callListFromTable
performs the list button functionality,
if use button in table is pressed.tabel_name
- the name of the belonging table.java.lang.Exception
- if errorpublic void callDeleteQuestionFromTable(java.lang.String tabel_name) throws java.lang.Exception
callDeleteQuestionFromTable
performs the delete question,
if delete button in table is pressed.tabel_name
- the name of the belonging table.java.lang.Exception
- if errorpublic void callDeleteQuestionFromTable(java.lang.String tabel_name, java.lang.String flag, java.lang.String flag2) throws java.lang.Exception
callDeleteQuestionFromTable
performs the delete question,
if delete button in table is pressed.tabel_name
- the name of the belonging table.flag
- a flag to identify the model.flag2
- a flag to identify the model.java.lang.Exception
- if errorpublic void callDeleteFromList(java.lang.String list_name, int row) throws java.lang.Exception
callDeleteFromList
performs the deletion in a list.list_name
- the name of the belonging list.row
- the table row.java.lang.Exception
- if errorpublic void callInsertFromList(java.lang.String list_name) throws java.lang.Exception
callInsertFromList
performs the deletion in a list.list_name
- the name of the belonging list.java.lang.Exception
- if errorpublic void callImportFromTable(java.lang.String tabel_name) throws java.lang.Exception
callImportFromTable
performs the list button functionality,
if use button in table is pressed.tabel_name
- the name of the belonging table.java.lang.Exception
- if errorpublic void callExportFromTable(java.lang.String tabel_name) throws java.lang.Exception
callImportFromTable
performs the list button functionality,
if use button in table is pressed.tabel_name
- the name of the belonging table.java.lang.Exception
- if errorpublic int showDeleteDialog() throws java.lang.Exception
showDeleteDialog
shows a window with the delete question.java.lang.Exception
- if errorpublic int showDeleteDialog(java.lang.String message) throws java.lang.Exception
showDeleteDialog
shows a window with the delete question.message
- the message, if null: standard message.java.lang.Exception
- if errorpublic void callDeleteFromTable(java.lang.String tabel_name, java.lang.String flag, java.lang.String flag2) throws java.lang.Exception
callDeleteFromTable
performs the delete button functionality,
if delete button in table is pressed.tabel_name
- the name of the belonging table.flag
- a button flag to identify the model.flag2
- a button flag to identify the model.java.lang.Exception
- if errorpublic void callDeleteFromTable(java.lang.String tabel_name) throws java.lang.Exception
callDeleteFromTable
performs the delete button functionality,
if delete button in table is pressed.tabel_name
- the name of the belonging table.java.lang.Exception
- if errorpublic void callChooseFromTable(java.lang.String tabel_name) throws java.lang.Exception
callChooseFromTable
performs the choose button functionality,
if choose button in table is pressed.tabel_name
- the name of the belonging table.java.lang.Exception
- if errorpublic void changeSiteColor() throws java.lang.Exception
changeSiteColor
changes the color of the site
and the concerning controls.java.lang.Exception
- if errorpublic void createNewData() throws java.lang.Exception
createNewData
deletes the data of the controls.java.lang.Exception
- if errorpublic void createCurrentData() throws java.lang.Exception
createCurrentData
get data for the controls.java.lang.Exception
- if errorpublic void createCurrentData(java.lang.String uniqueid) throws java.lang.Exception
createCurrentData
get data for the controls.uniqueid
- the current uniqueid.java.lang.Exception
- if errorpublic void hasSiteChangedPressed_1(SiteChangeEvent sce) throws java.lang.Exception
hasSiteChangedPressed_1
processed,
if a button is pressed for site change.hasSiteChangedPressed_1
in interface SiteChangeListener1
sce
- the SiteChangeEvent object.java.lang.Exception
- if errorpublic void hasSiteChangedPressed_2(SiteChangeEvent sce) throws java.lang.Exception
hasSiteChangedPressed_2
processed,
if a button is pressed for site change.hasSiteChangedPressed_2
in interface SiteChangeListener2
sce
- the SiteChangeEvent object.java.lang.Exception
- if errorpublic void hasSiteChangedPressed_3(SiteChangeEvent sce) throws java.lang.Exception
hasSiteChangedPressed_3
processed,
if a button is pressed for site change.hasSiteChangedPressed_3
in interface SiteChangeListener3
sce
- the SiteChangeEvent object.java.lang.Exception
- if errorpublic void addSiteChangeListener_1(SiteChangeListener1 listener)
addSiteChangedListener_1
adds a site change listener
to the listener list.listener
- the site change listener.public void addSiteChangeListener_2(SiteChangeListener2 listener)
addSiteChangedListener_2
adds a site change listener
to the listener list.listener
- the site change listener.public void addSiteChangeListener_3(SiteChangeListener3 listener)
addSiteChangedListener_3
adds a site change listener
to the listener list.listener
- the site change listener.public void fireSiteChangeEvent_1(java.lang.String data1) throws java.lang.Exception
fireSiteChangeEvent_1
fires the site change event.data1
- the data for the event.java.lang.Exception
- if errorpublic void fireSiteChangeEvent_2(java.lang.String data1) throws java.lang.Exception
fireSiteChangeEvent_2
fires the site change event.data1
- the data for the event.java.lang.Exception
- if errorpublic void fireSiteChangeEvent_3(java.lang.String data1) throws java.lang.Exception
fireSiteChangeEvent_3
fires the site change event.data1
- the data for the event.java.lang.Exception
- if errorpublic AWTableModel createTable(java.lang.String name, javax.swing.JPanel pnl, java.util.ArrayList data_list, java.util.ArrayList field_list, int column, int row, int width, int height, int work_delete, java.util.Hashtable status, java.util.Hashtable column_width, java.util.Hashtable row_color) throws java.lang.Exception
createTable
creates a table object.name
- the name of the table.pnl
- the current panel object.data_list
- list with the the current database access object.field_list
- the field list for the columns.column
- the column of the table.row
- the row of the table.width
- the width of the table.height
- the height of the table.work_delete,
- if true work and delete buttons are added.status
- the status of the table cells.column_width
- the width of a column.row_color
- row color.java.lang.Exception
- if errorpublic AWTableModel createTable(java.lang.String name, javax.swing.JPanel pnl, n4e.core.database.DbAccessRead data, java.lang.String fields, int column, int row, int width, int height, int work_delete, java.util.Hashtable status, java.util.Hashtable column_width) throws java.lang.Exception
createTable
creates a table object
with work and delete buttons each row.name
- the name of the table.pnl
- the current panel object.data
- the current database access object.fields
- the field list for the columns.column
- the column of the table.row
- the row of the table.width
- the width of the table.height
- the height of the table.work_delete,
- if true work and delete buttons are added.status
- the status of the table cells.column_width
- the width of a column.java.lang.Exception
- if errorpublic AWTableModel createTable(java.lang.String name, javax.swing.JPanel pnl, n4e.core.database.DbAccessRead data, java.lang.String fields, int column, int row, int width, int corr_width, int height, int corr_height, int work_delete, java.util.Hashtable status, java.util.Hashtable column_width, java.util.Hashtable row_color, java.awt.Font font) throws java.lang.Exception
createTable
creates a table object
with work and delete buttons each row.name
- the name of the table.pnl
- the current panel object.data
- the current database access object.fields
- the field list for the columns.column
- the column of the table.row
- the row of the table.width
- the width of the table.corr_width
- the corr of width.height
- the height of the table.corr_height
- the corr of height.work_delete,
- if true work and delete buttons are added.status
- the status of the table cells.column_width
- the width of a column.row_color
- row color.font
- the font.java.lang.Exception
- if errorpublic AWTableModel createTable(java.lang.String name, javax.swing.JPanel pnl, n4e.core.database.DbAccessRead data, java.lang.String fields, int column, int row, int width, int corr_width, int height, int corr_height, int work_delete, java.lang.String flag, java.lang.String flag2, java.util.Hashtable status, java.util.Hashtable column_width, java.util.Hashtable row_color, java.awt.Font font) throws java.lang.Exception
createTable
creates a table object
with work and delete buttons each row.name
- the name of the table.pnl
- the current panel object.data
- the current database access object.fields
- the field list for the columns.column
- the column of the table.row
- the row of the table.width
- the width of the table.corr_width
- the corr of width.height
- the height of the table.corr_height
- the corr of height.work_delete,
- if true work and delete buttons are added.flag
- to identify the model.flag2
- to identify the model.status
- the status of the table cells.column_width
- the width of a column.row_color
- row colorfont
- the font.java.lang.Exception
- if errorpublic AWTableModel createTable(java.lang.String name, javax.swing.JPanel pnl, n4e.core.database.DbAccessRead data, java.lang.String fields, int work_delete, java.util.Hashtable status, java.util.Hashtable column_width, java.util.Hashtable row_color) throws java.lang.Exception
createTable
creates a table object
with work and delete buttons each row.name
- the name of the table.pnl
- the current panel object.data
- the current database access object.fields
- the field list for the columns.work_delete,
- if true work and delete buttons are added.status
- the status of the table cells.column_width
- the width of a column.row_color
- row colorjava.lang.Exception
- if errorpublic AWTableModel createTable(java.lang.String name, javax.swing.JPanel pnl, n4e.core.database.DbAccessRead data, java.lang.String fields, java.util.Hashtable status, java.util.Hashtable column_width, java.util.Hashtable row_color) throws java.lang.Exception
createTable
creates a table object
with work and delete buttons each row.name
- the name of the table.pnl
- the current panel object.data
- the current database access object.fields
- the field list for the columns.status
- the status of the table cells.column_width
- the width of a column.row_color
- row colorjava.lang.Exception
- if errorpublic AWTableModel createTable(java.lang.String name, javax.swing.JPanel pnl, java.util.ArrayList data_list, java.util.ArrayList field_list, int column, int row, int width, int corr_width, int height, int corr_height, int work_delete, java.lang.String flag, java.lang.String flag2, java.util.Hashtable status, java.util.Hashtable column_width, java.util.Hashtable row_color, java.awt.Font font) throws java.lang.Exception
createTable
creates a table object.name
- the name of the table.pnl
- the current panel object.data_list
- list with the the current database access object.field_list
- the field list for the columns.column
- the column of the table.row
- the row of the table.width
- the width of the table.corr_width
- corr widthheight
- the height of the table.corr_height
- corr heightwork_delete,
- if true work and delete buttons are added.flag
- to identify the model.flag2
- to identify the model.status
- the status of the table cells.column_width
- the width of a column.row_color
- row colorfont
- fontjava.lang.Exception
- if errorpublic AWRtfEditor createRtfEditor(javax.swing.JPanel pnl, int width, int height)
createRtfEditor
creates a rtf editor.pnl
- the current panel.width
- the width of the editor.height
- the height aof the editor.