|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xulux.gui.XuluxWidget org.xulux.gui.ContainerWidget org.xulux.guilayer.swing.widgets.Table
public class Table
A nyx table.. A nyx table can do without a popupmenu field and can add a menuitem directly to its table.
Field Summary | |
---|---|
protected NyxTableColumnModel |
columnModel
The columnModel |
protected java.lang.Object |
content
The content of the table |
protected boolean |
contentChanged
has the contentchanged ? |
protected NyxTableCellEditor |
editor
the celleditor |
protected boolean |
hasChildPopups
does the table have childpopups |
protected NyxJTable |
lockedTable
The native locked table |
protected org.xulux.api.gui.IWidget |
menu
The table context menu |
protected NyxTableModel |
model
The tablemodel |
protected NewSelectionListener |
newSelectionListener
the new selection listener |
protected javax.swing.JScrollPane |
scrollPane
This is the native widget |
protected NyxJTable |
table
The native swing table |
Fields inherited from class org.xulux.gui.ContainerWidget |
---|
widgets |
Fields inherited from class org.xulux.gui.XuluxWidget |
---|
initialized, initializing, isRefreshing, log, previousValue, properties, value, visible |
Constructor Summary | |
---|---|
Table(java.lang.String name)
|
Method Summary | |
---|---|
void |
addToParent(org.xulux.api.gui.IWidget widget)
|
void |
addXuluxListener(org.xulux.api.gui.IXuluxListener listener)
|
boolean |
canContainValue()
|
void |
contentChanged()
|
void |
destroy()
|
void |
destroyTable()
Destroys the current table |
void |
focus()
|
java.lang.Object |
getContent()
|
java.lang.Object |
getGuiValue()
|
javax.swing.JTable |
getJTable()
Remove this one.. |
javax.swing.JTable |
getLockedJTable()
|
java.lang.Object |
getMouseOverValue()
|
java.lang.Object |
getNativeWidget()
|
java.lang.Object |
getValue()
|
void |
initialize()
|
protected void |
initializeContent()
Initializes the content when the property content and content.type is present |
protected boolean |
initializeUpdateButtons()
Initializes the popupmenus of the table. |
boolean |
isValueEmpty()
|
void |
refresh()
|
void |
refreshUpdateButtons()
Refreshes the update buttons. |
void |
setContent(java.lang.Object object)
Set the content of the table |
void |
setValue(java.lang.Object value)
Sets the current selected value in the table. |
void |
stopEditing()
Stop editing the table if currently editing. |
Methods inherited from class org.xulux.gui.ContainerWidget |
---|
addChildWidget, canBeRootWidget, canContainChildren, destroyChildren, getChildWidgets, getWidgetInitializer, initializeChildren |
Methods inherited from class org.xulux.gui.XuluxWidget |
---|
addDependency, addPropertyHandler, addPropertyHandler, clear, equals, getDependencies, getField, getName, getParent, getPart, getPrefix, getPreviousValue, getProperties, getProperty, getPropertyHandler, getPropertyHandlers, getProvider, getRealProperty, getRealValue, getRectangle, getRules, getWidgetType, handleProperties, handleProperty, hasDependencies, ignoreLayout, ignoreUse, isEnabled, isImmidiate, isInitializing, isRefreshing, isRequired, isRootWidget, isSkip, isUseIgnored, isValidValue, isVisible, notifyListeners, processDestroy, processInit, processNativeWidget, registerRule, removeAllRules, setAutoRefresh, setContainerWidgetHandler, setEnabled, setField, setImmidiate, setLazyProperty, setName, setParent, setPart, setPosition, setPrefix, setProperty, setProvider, setRequired, setRootWidget, setSize, setSkip, setValidValue, setVisible, setWidgetInitializer, setWidgetType, toString, updateWidget |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected NyxJTable table
protected NyxJTable lockedTable
protected javax.swing.JScrollPane scrollPane
protected org.xulux.api.gui.IWidget menu
protected boolean hasChildPopups
protected java.lang.Object content
protected boolean contentChanged
protected NyxTableColumnModel columnModel
protected NyxTableModel model
protected NyxTableCellEditor editor
protected NewSelectionListener newSelectionListener
Constructor Detail |
---|
public Table(java.lang.String name)
name
- the name of the tableMethod Detail |
---|
public void destroyTable()
public void destroy()
destroy
in interface org.xulux.api.gui.IContainerWidgetHandler
destroy
in interface org.xulux.api.gui.IWidget
destroy
in class org.xulux.gui.ContainerWidget
IWidget.destroy()
public java.lang.Object getNativeWidget()
getNativeWidget
in interface org.xulux.api.gui.IWidget
org.xulux.nyx.gui.XuluxWidget#getNativeWidget()
public void initialize()
initialize
in interface org.xulux.api.gui.IWidget
org.xulux.nyx.gui.XuluxWidget#initialize()
public void refresh()
refresh
in interface org.xulux.api.gui.IWidget
refresh
in class org.xulux.gui.XuluxWidget
org.xulux.nyx.gui.XuluxWidget#refresh()
public java.lang.Object getGuiValue()
getGuiValue
in interface org.xulux.api.gui.IWidget
org.xulux.nyx.gui.XuluxWidget#getGuiValue()
public java.lang.Object getMouseOverValue()
public void focus()
focus
in interface org.xulux.api.gui.IWidget
org.xulux.nyx.gui.XuluxWidget#focus()
public void addToParent(org.xulux.api.gui.IWidget widget)
addToParent
in interface org.xulux.api.gui.IContainerWidgetHandler
org.xulux.nyx.gui.ContainerWidget#addToParent(org.xulux.nyx.gui.XuluxWidget)
public boolean canContainValue()
canContainValue
in interface org.xulux.api.gui.IWidget
org.xulux.nyx.gui.XuluxWidget#canContainValue()
public boolean isValueEmpty()
isValueEmpty
in interface org.xulux.api.gui.IWidget
org.xulux.nyx.gui.XuluxWidget#isValueEmpty()
protected void initializeContent()
public void refreshUpdateButtons()
protected boolean initializeUpdateButtons()
public java.lang.Object getContent()
getContent
in interface org.xulux.api.gui.IContentWidget
public void setContent(java.lang.Object object)
setContent
in interface org.xulux.api.gui.IContentWidget
object
- the contentpublic javax.swing.JTable getJTable()
public javax.swing.JTable getLockedJTable()
public void addXuluxListener(org.xulux.api.gui.IXuluxListener listener)
addXuluxListener
in interface org.xulux.api.gui.IWidget
addXuluxListener
in class org.xulux.gui.XuluxWidget
org.xulux.nyx.gui.XuluxWidget#addXuluxListener(org.xulux.nyx.gui.XuluxListener)
public void setValue(java.lang.Object value)
setValue
in interface org.xulux.api.gui.IWidget
setValue
in class org.xulux.gui.XuluxWidget
org.xulux.nyx.gui.XuluxWidget#setValue(java.lang.Object)
public java.lang.Object getValue()
getValue
in interface org.xulux.api.gui.IWidget
getValue
in class org.xulux.gui.XuluxWidget
org.xulux.nyx.gui.XuluxWidget#getValue()
public void stopEditing()
public void contentChanged()
contentChanged
in interface org.xulux.api.gui.IContentWidget
org.xulux.nyx.gui.IContentWidget#contentChanged()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |