|
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.grid.VPanel
public final class VPanel
Single Row Panel. Called from GridController
Structure
this (CPanel - Group Bag Layout)
group
label - field
Spacing:
-------------------
Total Top = 10+2
Total Right = 0+12
Total Left = 0+12
Total Bottom = 3+9
-------------------
2
12 Label 0+5 Field 0
3+2=5
12 Label 0+5 Field 0
3
| 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 | |
|---|---|
static String |
COMPONENT_VISIBLE
In JComponent's client properties when the component can/cannot be visible. |
| 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, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
VPanel()
Constructor |
|
| Method Summary | |
|---|---|
void |
addEnd()
Add End (9) of Form |
void |
addField(VEditor editor,
GridField mField)
Add Field and Label to Panel |
VEditor |
getDefaultFocus()
Get Default Focus Field |
boolean |
requestFocusInWindow()
Request Focus In Window |
void |
setBackground(int AD_Color_ID)
Set Background to AD_Color_ID (nop) |
void |
setMnemonic(GridField mField)
Set Field Mnemonic |
void |
setMnemonics(boolean set)
Set Window level Mnemonics |
| 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 |
|---|
public static final String COMPONENT_VISIBLE
| Constructor Detail |
|---|
public VPanel()
| Method Detail |
|---|
public void setMnemonic(GridField mField)
mField - field
public void addField(VEditor editor,
GridField mField)
editor - editormField - field modelpublic void addEnd()
public void setMnemonics(boolean set)
set - true if set otherwise unregiserpublic void setBackground(int AD_Color_ID)
AD_Color_ID - Colorpublic VEditor getDefaultFocus()
public boolean requestFocusInWindow()
requestFocusInWindow in class JComponent
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||