|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Component | |
---|---|
com.itmill.toolkit.event | Provides classes and interfaces for the inheritable event model. |
com.itmill.toolkit.terminal.gwt.server | |
com.itmill.toolkit.ui | Provides interfaces and classes in the IT Mill Toolkit. |
Uses of Component in com.itmill.toolkit.event |
---|
Constructors in com.itmill.toolkit.event with parameters of type Component | |
---|---|
ItemClickEvent(Component source,
Item item,
Object itemId,
Object propertyId,
MouseEventDetails details)
|
Uses of Component in com.itmill.toolkit.terminal.gwt.server |
---|
Methods in com.itmill.toolkit.terminal.gwt.server that return Component | |
---|---|
Component |
ChangeVariablesErrorEvent.getComponent()
|
Methods in com.itmill.toolkit.terminal.gwt.server with parameters of type Component | |
---|---|
static boolean |
ComponentSizeValidator.checkHeights(Component component)
|
static boolean |
ComponentSizeValidator.checkWidths(Component component)
|
static boolean |
ComponentSizeValidator.parentCanDefineHeight(Component component)
|
static boolean |
ComponentSizeValidator.parentCanDefineWidth(Component component)
|
static List<ComponentSizeValidator.InvalidLayout> |
ComponentSizeValidator.validateComponentRelativeSizes(Component component,
List<ComponentSizeValidator.InvalidLayout> errors,
ComponentSizeValidator.InvalidLayout parent)
Recursively checks given component and its subtree for invalid layout setups. |
Constructors in com.itmill.toolkit.terminal.gwt.server with parameters of type Component | |
---|---|
ChangeVariablesErrorEvent(Component component,
Throwable throwable,
Map variableChanges)
|
|
ComponentSizeValidator.InvalidLayout(Component component,
boolean height,
boolean width)
|
Uses of Component in com.itmill.toolkit.ui |
---|
Subinterfaces of Component in com.itmill.toolkit.ui | |
---|---|
static interface |
Component.Focusable
Interface implemented by components which can obtain input focus. |
interface |
ComponentContainer
Extension to the Component interface which adds to it the capacity to
contain other components. |
interface |
Field
|
interface |
Layout
Extension to the ComponentContainer interface which adds the
layouting control to the elements in the container. |
Classes in com.itmill.toolkit.ui that implement Component | |
---|---|
class |
AbstractComponent
An abstract class that defines default implementation for the Component interface. |
class |
AbstractComponentContainer
Extension to AbstractComponent that defines the default
implementation for the methods in ComponentContainer . |
class |
AbstractField
Abstract field component for implementing buffered property editors. |
class |
AbstractLayout
An abstract class that defines default implementation for the Layout
interface. |
class |
AbstractOrderedLayout
|
class |
AbstractSelect
A class representing a selection of items the user has selected in a UI. |
class |
Accordion
|
class |
Button
A generic button component. |
class |
CheckBox
|
class |
ComboBox
A filtering dropdown single-select. |
class |
CustomComponent
Custom component provides simple implementation of Component interface for creation of new UI components by composition of existing components. |
class |
CustomLayout
A container component with freely designed layout and style. |
class |
DateField
A date editor component that can be bound to any bindable Property. that is compatible with java.util.Date . |
class |
Embedded
Component for embedding external objects. |
class |
ExpandLayout
Deprecated. Deprecated in favor of the new OrderedLayout |
class |
Form
Form component provides easy way of creating and managing sets fields. |
class |
FormLayout
FormLayout is used by Form to layout fields. |
class |
GridLayout
A container that consists of components with certain coordinates (cell position) on a grid. |
class |
HorizontalLayout
Horizontal layout HorizontalLayout is a component container, which shows the
subcomponents in the order of their addition (horizontally). |
class |
InlineDateField
A date entry component, which displays the actual date selector inline. |
class |
Label
Label component for showing non-editable short texts. |
class |
Link
Link is used to create external or internal URL links. |
class |
ListSelect
This is a simple list select without, for instance, support for new items, lazyloading, and other advanced features. |
class |
LoginForm
LoginForm is a Toolkit component to handle common problem among Ajax applications: browsers password managers don't fill dynamically created forms like all those UI elements created by IT Mill Toolkit. |
class |
MenuBar
A class representing a horizontal menu bar. |
class |
NativeSelect
This is a simple drop-down select without, for instance, support for multiselect, new items, lazyloading, and other advanced features. |
class |
OptionGroup
Configures select to be used as an option group. |
class |
OrderedLayout
Deprecated. Replaced by VerticalLayout/HorizontalLayout. For type checking please not that VerticalLayout/HorizontalLayout do not extend OrderedLayout but AbstractOrderedLayout (which also OrderedLayout extends). |
class |
Panel
Panel - a simple single component container. |
class |
PopupDateField
A date entry component, which displays the actual date selector as a popup. |
class |
PopupView
A component for displaying a two different views to data. |
class |
ProgressIndicator
ProgressIndicator is component that shows user state of a
process (like long computing or file upload)
ProgressIndicator has two mainmodes. |
class |
RichTextArea
A simple RichTextEditor to edit HTML format text. |
class |
Select
A class representing a selection of items the user has selected in a UI. |
class |
Slider
TODO comment Example code:
class MyPlayer extends CustomComponent implements ValueChangeListener {
Label volumeIndicator = new Label();
Slider slider;
public MyPlayer() {
OrderedLayout ol = new OrderedLayout();
setCompositionRoot(ol);
slider = new Slider("Volume", 0, 100);
slider.setImmediate(true);
ol.addComponent(slider);
ol.addComponent(volumeIndicator);
volumeIndicator.setValue(new Double(50));
slider.addListener(this);
}
public void setVolume(double d) {
volumeIndicator.setValue("Current volume : " + d);
}
public void valueChange(ValueChangeEvent event) {
Double d = (Double) event.getProperty().getValue();
setVolume(d.doubleValue());
}
}
|
class |
SplitPanel
SplitPanel. |
class |
Table
TableComponent is used for representing data or components in
pageable and selectable table. |
class |
TabSheet
Tabsheet component. |
class |
TextField
A text editor component that can be bound to any bindable Property. |
class |
Tree
MenuTree component. |
class |
TwinColSelect
Multiselect component with two lists: left side for available items and right side for selected items. |
class |
Upload
Component for uploading files from client to server. |
class |
UriFragmentUtility
Experimental web browser dependent component for URI fragment (part after hash mark "#") reading and writing. |
class |
VerticalLayout
Vertical layout VerticalLayout is a component container, which shows the
subcomponents in the order of their addition (vertically). |
class |
Window
Application window component. |
Fields in com.itmill.toolkit.ui with type parameters of type Component | |
---|---|
protected LinkedList<Component> |
AbstractOrderedLayout.components
Custom layout slots containing the components. |
Methods in com.itmill.toolkit.ui that return Component | |
---|---|
Component |
Table.ColumnGenerator.generateCell(Table source,
Object itemId,
Object columnId)
Called by Table when a cell in a generated column needs to be generated. |
Component |
ComponentContainer.ComponentAttachEvent.getAttachedComponent()
Gets the attached component. |
Component |
GridLayout.Area.getComponent()
Gets the component connected to the area. |
Component |
GridLayout.getComponent(int x,
int y)
Gets the Component at given index. |
Component |
CustomLayout.getComponent(String location)
Gets the child-component by its location. |
protected Component |
CustomComponent.getCompositionRoot()
Returns the composition root. |
Component |
ComponentContainer.ComponentDetachEvent.getDetachedComponent()
Gets the detached component. |
Component |
AbstractComponent.getParent()
|
Component |
Window.getParent()
Getter for property parent. |
Component |
Component.getParent()
Gets the visual parent of the component. |
Component |
PopupView.Content.getPopupComponent()
This should return the full Component representing the data |
Component |
TabSheet.getSelectedTab()
Gets the selected tab. |
Methods in com.itmill.toolkit.ui that return types with arguments of type Component | |
---|---|
Iterator<Component> |
PopupView.getComponentIterator()
This class only contains other components when the popup is showing. |
Methods in com.itmill.toolkit.ui with parameters of type Component | |
---|---|
void |
ComponentContainer.addComponent(Component c)
Adds the component into this container. |
void |
TabSheet.addComponent(Component c)
Adds a new tab into TabSheet. |
void |
CustomComponent.addComponent(Component c)
This method is not supported by CustomComponent. |
void |
AbstractComponentContainer.addComponent(Component c)
This only implements the events and component parent calls. |
void |
SplitPanel.addComponent(Component c)
Add a component into this container. |
void |
AbstractOrderedLayout.addComponent(Component c)
Add a component into this container. |
void |
CustomLayout.addComponent(Component c)
Adds the component into this container. |
void |
ExpandLayout.addComponent(Component c)
Deprecated. |
void |
GridLayout.addComponent(Component component)
Adds the component into this container to the cursor position. |
void |
PopupView.addComponent(Component c)
Not supported in this implementation. |
void |
Panel.addComponent(Component c)
Adds the component into this container. |
void |
AbstractOrderedLayout.addComponent(Component c,
int index)
Adds a component into indexed position in this container. |
void |
ExpandLayout.addComponent(Component c,
int index)
Deprecated. |
void |
GridLayout.addComponent(Component c,
int column,
int row)
Adds the component into this container to cells column1,row1 (NortWest corner of the area.) |
void |
GridLayout.addComponent(Component component,
int column1,
int row1,
int column2,
int row2)
Adds a component with a specified area to the grid. |
void |
CustomLayout.addComponent(Component c,
String location)
Adds the component into this container to given location. |
void |
AbstractOrderedLayout.addComponentAsFirst(Component c)
Adds a component into this container. |
void |
ExpandLayout.addComponentAsFirst(Component c)
Deprecated. |
void |
TabSheet.addTab(Component c)
Adds a new tab into TabSheet. |
void |
TabSheet.addTab(Component c,
String caption,
Resource icon)
Adds a new tab into TabSheet. |
Field |
FieldFactory.createField(Class type,
Component uiContext)
Creates a field based on type of data. |
Field |
BaseFieldFactory.createField(Class type,
Component uiContext)
Creates the field based on type of data. |
Field |
FieldFactory.createField(Container container,
Object itemId,
Object propertyId,
Component uiContext)
Creates a field based on the container item id and property id. |
Field |
BaseFieldFactory.createField(Container container,
Object itemId,
Object propertyId,
Component uiContext)
|
Field |
FieldFactory.createField(Item item,
Object propertyId,
Component uiContext)
Creates a field based on the item and property id. |
Field |
BaseFieldFactory.createField(Item item,
Object propertyId,
Component uiContext)
Creates the field based on the item and property id. |
Field |
FieldFactory.createField(Property property,
Component uiContext)
Creates a field based on the property datasource. |
Field |
BaseFieldFactory.createField(Property property,
Component uiContext)
Creates the field based on the datasource property. |
void |
ExpandLayout.expand(Component c)
Deprecated. |
protected void |
AbstractComponentContainer.fireComponentAttachEvent(Component component)
Fires the component attached event. |
protected void |
AbstractComponentContainer.fireComponentDetachEvent(Component component)
Fires the component detached event. |
Alignment |
Layout.AlignmentHandler.getComponentAlignment(Component childComponent)
Returns the current Alignment of given component. |
Alignment |
AbstractOrderedLayout.getComponentAlignment(Component childComponent)
|
Alignment |
GridLayout.getComponentAlignment(Component childComponent)
|
GridLayout.Area |
GridLayout.getComponentArea(Component component)
Returns information about the area where given component is layed in the GridLayout. |
float |
AbstractOrderedLayout.getExpandRatio(Component component)
Returns the expand ratio of given component. |
String |
TabSheet.getTabCaption(Component c)
Gets the caption for a component. |
Resource |
TabSheet.getTabIcon(Component c)
Gets the icon for a component. |
void |
ComponentContainer.removeComponent(Component c)
Removes the component from this container. |
void |
TabSheet.removeComponent(Component c)
Removes the component from this container. |
void |
CustomComponent.removeComponent(Component c)
This method is not supported by CustomComponent. |
void |
AbstractComponentContainer.removeComponent(Component c)
This only implements the events and component parent calls. |
void |
SplitPanel.removeComponent(Component c)
Removes the component from this container. |
void |
AbstractOrderedLayout.removeComponent(Component c)
Removes the component from this container. |
void |
CustomLayout.removeComponent(Component c)
Removes the component from this container. |
void |
ExpandLayout.removeComponent(Component c)
Deprecated. |
void |
GridLayout.removeComponent(Component component)
Removes the given component from this container. |
void |
PopupView.removeComponent(Component c)
Not supported in this implementation |
void |
Panel.removeComponent(Component c)
Removes the component from this container. |
void |
ComponentContainer.replaceComponent(Component oldComponent,
Component newComponent)
Replaces the component in the container with another one without changing position. |
void |
TabSheet.replaceComponent(Component oldComponent,
Component newComponent)
|
void |
CustomComponent.replaceComponent(Component oldComponent,
Component newComponent)
This method is not supported by CustomComponent. |
void |
SplitPanel.replaceComponent(Component oldComponent,
Component newComponent)
|
void |
AbstractOrderedLayout.replaceComponent(Component oldComponent,
Component newComponent)
|
void |
CustomLayout.replaceComponent(Component oldComponent,
Component newComponent)
|
void |
ExpandLayout.replaceComponent(Component oldComponent,
Component newComponent)
Deprecated. |
void |
GridLayout.replaceComponent(Component oldComponent,
Component newComponent)
|
void |
PopupView.replaceComponent(Component oldComponent,
Component newComponent)
Not supported in this implementation. |
void |
Panel.replaceComponent(Component oldComponent,
Component newComponent)
|
protected void |
GridLayout.Area.setComponent(Component newComponent)
Sets the component connected to the area. |
void |
Layout.AlignmentHandler.setComponentAlignment(Component childComponent,
Alignment alignment)
Set alignment for one contained component in this layout. |
void |
AbstractOrderedLayout.setComponentAlignment(Component childComponent,
Alignment alignment)
|
void |
GridLayout.setComponentAlignment(Component childComponent,
Alignment alignment)
|
void |
Layout.AlignmentHandler.setComponentAlignment(Component childComponent,
int horizontalAlignment,
int verticalAlignment)
Deprecated. Use Layout.AlignmentHandler.setComponentAlignment(Component, Alignment)
instead |
void |
AbstractOrderedLayout.setComponentAlignment(Component childComponent,
int horizontalAlignment,
int verticalAlignment)
|
void |
GridLayout.setComponentAlignment(Component childComponent,
int horizontalAlignment,
int verticalAlignment)
|
void |
AbstractOrderedLayout.setComponentAlignment(Component component,
String alignment)
|
void |
GridLayout.setComponentAlignment(Component component,
String alignment)
|
static void |
AlignmentUtils.setComponentAlignment(Layout.AlignmentHandler parent,
Component component,
String alignment)
Set the alignment for the component using short notation |
protected void |
CustomComponent.setCompositionRoot(Component compositionRoot)
Sets the compositions root. |
void |
AbstractOrderedLayout.setExpandRatio(Component component,
float ratio)
This method is used to control how excess space in layout is distributed among components. |
void |
SplitPanel.setFirstComponent(Component c)
|
void |
AbstractComponent.setParent(Component parent)
|
void |
Window.setParent(Component parent)
Setter for property parent. |
void |
Component.setParent(Component parent)
Sets the component's parent component. |
void |
SplitPanel.setSecondComponent(Component c)
|
void |
TabSheet.setSelectedTab(Component c)
Sets the selected tab. |
void |
TabSheet.setTabCaption(Component c,
String caption)
Sets tabs captions. |
void |
TabSheet.setTabIcon(Component c,
Resource icon)
Sets overridden icon for given component. |
Constructors in com.itmill.toolkit.ui with parameters of type Component | |
---|---|
Button.ClickEvent(Component source)
New instance of text change event. |
|
Component.ErrorEvent(ErrorMessage message,
Component component)
Constructs a new event with a specified source component. |
|
Component.Event(Component source)
Constructs a new event with a specified source component. |
|
ComponentContainer.ComponentAttachEvent(ComponentContainer container,
Component attachedComponent)
Creates a new attach event. |
|
ComponentContainer.ComponentDetachEvent(ComponentContainer container,
Component detachedComponent)
Creates a new detach event. |
|
CustomComponent(Component compositionRoot)
Constructs a new custom component. |
|
GridLayout.Area(Component component,
int column1,
int row1,
int column2,
int row2)
Construct a new area on a grid. |
|
PopupView(String small,
Component large)
A simple way to create a PopupPanel. |
|
TabSheet.SelectedTabChangeEvent(Component source)
New instance of selected tab change event |
|
Tree.CollapseEvent(Component source,
Object collapsedItemId)
New instance of options change event. |
|
Tree.ExpandEvent(Component source,
Object expandedItemId)
New instance of options change event |
|
UriFragmentUtility.FragmentChangedEvent(Component source)
Creates a new instance of UriFragmentReader change event. |
|
Window.CloseEvent(Component source)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |