com.groiss.gui.component
Class FileChooser
java.lang.Object
com.groiss.gui.AbstractComponent
com.groiss.gui.component.FileChooser
- All Implemented Interfaces:
- Component, Serializable, Cloneable
public class FileChooser
- extends AbstractComponent
A HTML input element for selecting files. <input type=file
- See Also:
- Serialized Form
| Fields inherited from class com.groiss.gui.AbstractComponent |
actions, ACTIVE, browserMode, DEFAULT, ID, IE, INVISIBLE, isSensitive, label, NS, ON_BLUR, ON_CHANGE, ON_CLICK, ON_DBLCLICK, ON_FOCUS, ON_KEY_DOWN, ON_KEY_PRESS, ON_KEY_UP, ON_LOAD, ON_MOUSE_DOWN, ON_MOUSE_MOVE, ON_MOUSE_OUT, ON_MOUSE_UP, ON_RESET, ON_SELECT, ON_SUBMIT, ON_UNLOAD, outputter, parent, parentElem, READONLY, root, viewMode |
| Methods inherited from class com.groiss.gui.AbstractComponent |
clone, create, getActionListener, getAttribute, getBrowserMode, getId, getLabel, getName, getParent, getParentElement, getRoot, getRootName, getStyle, getViewMode, init, init, init, removeAttribute, setActionListener, setAttribute, setBrowserMode, setEncoding, setExpandEmptyElements, setId, setIndenting, setLabel, setName, setNewLines, setParent, setParentElement, setRootName, setStyle, setViewMode, show, show, toString |
FileChooser
public FileChooser()
FileChooser
public FileChooser(String name)
- Constructor with name.
- Parameters:
name - - the group where the checkbox belongs to
FileChooser
public FileChooser(String name,
String styleClass)
- Constructor with name and style.
- Parameters:
name - the group where the checkbox belongs tostyleClass - the name of a CSS class
setContent
public void setContent(Object o)
- sets the content of the component
- Specified by:
setContent in interface Component- Overrides:
setContent in class AbstractComponent
- Parameters:
o - - any object where the string representation is used for rendering
getContent
public Object getContent()
- Specified by:
getContent in interface Component- Overrides:
getContent in class AbstractComponent
- Returns:
- - the content object of the component
@enterprise 8.0.10078 Copyright © 2001-2011 Groiss Informatics GmbH. All Rights Reserved.