|
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.SubCurrentLine
public class SubCurrentLine
POS 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 |
dispose()
Dispose - Free Resources |
MOrder |
getOrder()
Get/create Header |
BigDecimal |
getPrice()
Get Price |
BigDecimal |
getQty()
Get Qty |
void |
init()
Initialize |
void |
newLine()
New Line |
boolean |
saveLine()
Save Line |
void |
setCurrency(String currency)
Set Currency |
void |
setPrice(BigDecimal price)
Set Price |
void |
setQty(BigDecimal qty)
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 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 - UOMpublic void setPrice(BigDecimal price)
price - pricepublic BigDecimal getPrice()
public void setQty(BigDecimal qty)
qty - qtypublic BigDecimal getQty()
public void newLine()
public boolean saveLine()
public MOrder getOrder()
public MOrderLine createLine(MProduct product,
BigDecimal QtyOrdered,
BigDecimal PriceActual)
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||