|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
org.compiere.swing.CDialog
org.compiere.apps.search.Info
org.compiere.apps.search.InfoProduct
public final class InfoProduct
Search Product and return selection
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JDialog |
|---|
JDialog.AccessibleJDialog |
| Nested classes/interfaces inherited from class java.awt.Dialog |
|---|
Dialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityType |
| Nested classes/interfaces inherited from class java.awt.Window |
|---|
Window.AccessibleAWTWindow |
| 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 |
|---|
| Fields inherited from class org.compiere.apps.search.Info |
|---|
addonPanel, INFO_WIDTH, log, p_keyColumn, p_layout, p_loadedOK, p_multiSelection, p_table, p_tableName, p_whereClause, p_WindowNo, parameterPanel, statusBar |
| Fields inherited from class org.compiere.swing.CDialog |
|---|
ACTION_DISPOSE, s_dialogAction, s_disposeKeyStroke |
| Fields inherited from class javax.swing.JDialog |
|---|
accessibleContext, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Dialog |
|---|
DEFAULT_MODALITY_TYPE |
| 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 | |
|---|---|
InfoProduct(Frame frame,
boolean modal,
int WindowNo,
int M_Warehouse_ID,
int M_PriceList_ID,
String value,
boolean multiSelection,
String whereClause)
Standard Constructor |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
Action Listner |
protected void |
customize()
Customize |
protected void |
enableButtons()
Enable PAttribute if row selected/changed |
protected String |
getSQLWhere()
Construct SQL Where Clause and define parameters (setParameters needs to set parameters) Includes first AND |
protected boolean |
hasCustomize()
Has Customize |
protected boolean |
hasHistory()
Has History |
protected boolean |
hasZoom()
Has Zoom |
protected void |
saveSelectionDetail()
Save Selection Settings for PriceList |
protected void |
setParameters(PreparedStatement pstmt,
boolean forCount)
Set Parameters for Query (as defined in getSQLWhere) |
protected void |
showHistory()
Show History |
protected void |
zoom()
Zoom |
| Methods inherited from class org.compiere.apps.search.Info |
|---|
create, dispose, dispose, doReset, executeQuery, getAD_Window_ID, getKeyColumn, getSelectedKey, getSelectedKeys, getSelectedRowKey, getSelectedRowKeys, getSelectedSQL, getTableName, hasReset, isCancelled, jbInit, loadedOK, mouseClicked, prepareTable, saveSelection, setStatusDB, setStatusLine, showAsset, showAssignment, showBPartner, showCashLine, showInOut, showInvoice, showOrder, showPayment, showProduct, valueChanged, zoom |
| Methods inherited from class org.compiere.swing.CDialog |
|---|
dialogInit, mouseEntered, mouseExited, mousePressed, mouseReleased, setTitle |
| Methods inherited from class java.awt.Dialog |
|---|
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setModalityType, setResizable, setUndecorated, setVisible, show, toBack |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InfoProduct(Frame frame,
boolean modal,
int WindowNo,
int M_Warehouse_ID,
int M_PriceList_ID,
String value,
boolean multiSelection,
String whereClause)
frame - framemodal - modalWindowNo - window noM_Warehouse_ID - warehouseM_PriceList_ID - price listvalue - Query Value or Name if enclosed in @multiSelection - multiple selectionswhereClause - where clause| Method Detail |
|---|
protected String getSQLWhere()
getSQLWhere in class Info
protected void setParameters(PreparedStatement pstmt,
boolean forCount)
throws SQLException
setParameters in class Infopstmt - pstmtforCount - for counting records
SQLExceptionpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListeneractionPerformed in class Infoe - eventActionListener.actionPerformed(java.awt.event.ActionEvent)protected void enableButtons()
enableButtons in class Infoprotected void showHistory()
showHistory in class Infoprotected boolean hasHistory()
hasHistory in class Infoprotected void zoom()
zoom in class Infoprotected boolean hasZoom()
hasZoom in class Infoprotected void customize()
customize in class Infoprotected boolean hasCustomize()
hasCustomize in class Infoprotected void saveSelectionDetail()
saveSelectionDetail in class Info
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||