|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensubsystems.inventory.application.swt.ViewInventory
public class ViewInventory
Screen to view items in the inventory.
| Field Summary | |
|---|---|
protected org.eclipse.swt.widgets.Composite |
m_clientArea
Client area containing all the other controls. |
protected org.eclipse.swt.widgets.Button |
m_createItem
Create button for an item. |
protected org.eclipse.swt.widgets.Button |
m_createSubcategory
Create subcategory button |
protected Inventory |
m_currentInventory
Current inventory used to display items. |
protected ItemTable |
m_items
Table with items to select from. |
protected org.eclipse.swt.widgets.Button |
m_modifyItem
Modify button for an item. |
protected InventoryModule |
m_module
Module displaying this screen. |
protected int |
m_selectedCategoryId
Id of currently selected category |
protected int[] |
m_showStatus
Which show togle button is pressed. |
| Constructor Summary | |
|---|---|
ViewInventory(org.eclipse.swt.widgets.Composite parent,
InventoryModule module,
Inventory currentInventory,
java.util.Map selectedCategories,
java.util.Map selectedSubCategories)
Construct new screen to display items in the inventory. |
|
| Method Summary | |
|---|---|
void |
refresh()
Refresh screen by reloading all items. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected InventoryModule m_module
protected ItemTable m_items
protected int[] m_showStatus
protected int m_selectedCategoryId
protected Inventory m_currentInventory
protected org.eclipse.swt.widgets.Composite m_clientArea
protected org.eclipse.swt.widgets.Button m_createSubcategory
protected org.eclipse.swt.widgets.Button m_createItem
protected org.eclipse.swt.widgets.Button m_modifyItem
| Constructor Detail |
|---|
public ViewInventory(org.eclipse.swt.widgets.Composite parent,
InventoryModule module,
Inventory currentInventory,
java.util.Map selectedCategories,
java.util.Map selectedSubCategories)
throws org.opensubsystems.core.error.OSSException
parent - - who is parent of this screenmodule - - module displaying this screencurrentInventory - - Inventory which is currently usedselectedCategories - - what categories are selected in the list
of items. Key is the id, category is the value.selectedSubCategories - - what subcategories are selected in the list
of items. Key is the id, category is the
value.
org.opensubsystems.core.error.OSSException - - an error initializing the screen| Method Detail |
|---|
public void refresh()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||