|
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
javax.swing.JComponent
javax.swing.JPanel
org.compiere.swing.CPanel
org.compiere.pos.PosSubPanel
org.compiere.pos.SubCurrentLine
public class SubCurrentLine
Current Line Sub Panel
| 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 |
|---|
| 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 | |
|---|---|
SubCurrentLine(PosPanel posPanel)
Constructor |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
Action Listener |
MOrderLine |
createLine(MProduct product,
BigDecimal QtyOrdered,
BigDecimal PriceActual)
Create new Line |
void |
deleteLine(int row)
to erase the lines from order |
void |
deleteOrder()
Delete order from database |
void |
dispose()
Dispose - Free Resources |
GridBagConstraints |
getGridBagConstraints()
Get Panel Position |
MOrder |
getOrder()
Get/create Header |
BigDecimal |
getPrice()
Get Price |
BigDecimal |
getQty()
Get Qty |
void |
init()
Initialize |
void |
newLine()
New Line |
void |
newOrder()
Create new order |
boolean |
saveLine()
Save Line |
void |
setBPartner()
|
void |
setCurrency(String currency)
Set Currency |
void |
setOldOrder(int m_c_order_id)
|
void |
setPrice(BigDecimal price)
Set Price |
void |
setQty(BigDecimal price)
Set Qty |
void |
setUOM(String UOM)
Set UOM |
| 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 |
| Constructor Detail |
|---|
public SubCurrentLine(PosPanel posPanel)
posPanel - POS Panel| Method Detail |
|---|
public void init()
init in class PosSubPanelpublic GridBagConstraints getGridBagConstraints()
getGridBagConstraints in class PosSubPanelpublic void dispose()
dispose in class PosSubPanelpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListeneractionPerformed in class PosSubPanele - eventpublic void setCurrency(String currency)
currency - currencypublic void setUOM(String UOM)
UOM - public void setPrice(BigDecimal price)
price - public BigDecimal getPrice()
public void setQty(BigDecimal price)
qty - public BigDecimal getQty()
public void newLine()
public boolean saveLine()
public void deleteLine(int row)
public void deleteOrder()
public void newOrder()
public MOrder getOrder()
public void setBPartner()
public MOrderLine createLine(MProduct product,
BigDecimal QtyOrdered,
BigDecimal PriceActual)
public void setOldOrder(int m_c_order_id)
m_c_order_id -
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||