|
Compiere 3.1 | |||||||||
| 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
org.compiere.swing.CPanel
org.compiere.pos.PosSubPanel
org.compiere.pos.SubProduct
public class SubProduct
POS Product Sub Panel. Responsible for Product Selection and maintaining M_Product_ID, Name, UOM and setting Price
| 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 | |
|---|---|
protected CTextField |
f_name
|
protected QueryProduct |
f_queryProduct
Product Query Window |
| Fields inherited from class org.compiere.pos.PosSubPanel |
|---|
INSETS1, INSETS2, p_ctx, p_pos, p_position, p_posPanel |
| 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 java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, PROPERTIES, SOMEBITS |
| Constructor Summary | |
|---|---|
SubProduct(PosPanel posPanel)
Constructor |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
Action Listener |
void |
dispose()
Dispose - Free Resources |
void |
focusGained(FocusEvent e)
Focus Gained |
void |
focusLost(FocusEvent e)
Focus Lost |
int |
getC_UOM_ID()
Get UOM |
int |
getM_Product_ID()
Get Product |
MProduct |
getProduct()
Get Product |
String |
getProductName()
Get Product Name |
void |
init()
Initialize |
void |
setM_Product_ID(int M_Product_ID)
Set Product |
void |
setPrice()
Set Price for defined product |
| Methods inherited from class org.compiere.pos.PosSubPanel |
|---|
createButton, createButtonAction |
| Methods inherited from class org.compiere.swing.CPanel |
|---|
getBackgroundColor, getTabLevel, setBackground, setBackgroundColor, setTabLevel, toString |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected CTextField f_name
protected QueryProduct f_queryProduct
| Constructor Detail |
|---|
public SubProduct(PosPanel posPanel)
posPanel - POS Panel| Method Detail |
|---|
public void init()
init in class PosSubPanelpublic void dispose()
dispose in class PosSubPanelpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListeneractionPerformed in class PosSubPanele - eventpublic void focusGained(FocusEvent e)
focusGained in interface FocusListenere - public void focusLost(FocusEvent e)
focusLost in interface FocusListenere - public void setPrice()
public void setM_Product_ID(int M_Product_ID)
M_Product_ID - idpublic int getM_Product_ID()
public int getC_UOM_ID()
public String getProductName()
public MProduct getProduct()
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||