org.xulux.guilayer.swing.widgets
Class Combo

java.lang.Object
  extended by org.xulux.gui.XuluxWidget
      extended by org.xulux.gui.XuluxCombo
          extended by org.xulux.guilayer.swing.widgets.Combo
All Implemented Interfaces:
java.io.Serializable, org.xulux.api.gui.IContentWidget, org.xulux.api.gui.IWidget

public class Combo
extends org.xulux.gui.XuluxCombo

The swing combo widget.

Version:
$Id: Combo.java,v 1.1 2005/12/18 12:58:18 mvdb Exp $
Author:
Martin van den Bemt
See Also:
Serialized Form

Nested Class Summary
 class Combo.FocusEventListener
          This is a hack to get a focusevent for the combobox.
 
Field Summary
 
Fields inherited from class org.xulux.gui.XuluxCombo
content, contentChanged, log, notSelectedValue, notSelectedValueSet, settingValue
 
Fields inherited from class org.xulux.gui.XuluxWidget
initialized, initializing, isRefreshing, previousValue, properties, value, visible
 
Constructor Summary
Combo(java.lang.String name)
          Constructor for NyxCombo.
 
Method Summary
 boolean canContainValue()
           
 void contentChanged()
           
 void destroy()
           
 void focus()
           
 java.lang.Object getGuiValue()
           
 DefaultComboModel getModel()
           
 java.lang.Object getNativeWidget()
           
 void initialize()
           
 boolean isValueEmpty()
           
 void refresh()
           
 
Methods inherited from class org.xulux.gui.XuluxCombo
clear, getContent, getNotSelectedValue, getValue, getWidgetInitializer, initializeContent, initializeNotSelectedValue, setContent, setLazyValue, setNotSelectedValue, setProperty, setValue, setValue
 
Methods inherited from class org.xulux.gui.XuluxWidget
addChildWidget, addDependency, addPropertyHandler, addPropertyHandler, addXuluxListener, canBeRootWidget, canContainChildren, equals, getChildWidgets, 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, 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
 

Constructor Detail

Combo

public Combo(java.lang.String name)
Constructor for NyxCombo.

Parameters:
name - the name of the combo
Method Detail

getNativeWidget

public java.lang.Object getNativeWidget()
Specified by:
getNativeWidget in interface org.xulux.api.gui.IWidget
Specified by:
getNativeWidget in class org.xulux.gui.XuluxCombo
See Also:
IWidget.getNativeWidget()

destroy

public void destroy()
Specified by:
destroy in interface org.xulux.api.gui.IWidget
Overrides:
destroy in class org.xulux.gui.XuluxCombo
See Also:
IWidget.destroy()

initialize

public void initialize()
Specified by:
initialize in interface org.xulux.api.gui.IWidget
Specified by:
initialize in class org.xulux.gui.XuluxCombo
See Also:
IWidget.initialize()

refresh

public void refresh()
Specified by:
refresh in interface org.xulux.api.gui.IWidget
Specified by:
refresh in class org.xulux.gui.XuluxCombo
See Also:
IWidget.refresh()

focus

public void focus()
Specified by:
focus in interface org.xulux.api.gui.IWidget
Overrides:
focus in class org.xulux.gui.XuluxCombo
See Also:
IWidget.focus()

getGuiValue

public java.lang.Object getGuiValue()
Specified by:
getGuiValue in interface org.xulux.api.gui.IWidget
Overrides:
getGuiValue in class org.xulux.gui.XuluxCombo
See Also:
IWidget.getGuiValue()

canContainValue

public boolean canContainValue()
Specified by:
canContainValue in interface org.xulux.api.gui.IWidget
Overrides:
canContainValue in class org.xulux.gui.XuluxCombo
See Also:
IWidget.canContainValue()

isValueEmpty

public boolean isValueEmpty()
Specified by:
isValueEmpty in interface org.xulux.api.gui.IWidget
Overrides:
isValueEmpty in class org.xulux.gui.XuluxCombo
See Also:
IWidget.isValueEmpty()

contentChanged

public void contentChanged()
See Also:
IContentWidget.contentChanged()

getModel

public DefaultComboModel getModel()
Returns:
the model of the combo or null if non present


Copyright © 2002-2007 Martin van den Bemt. All Rights Reserved.