public class ResourceTypeForm
extends com.vaadin.ui.CustomComponent
com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListener
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
Constructor and Description |
---|
ResourceTypeForm()
Instantiates a new resource type form.
|
Modifier and Type | Method and Description |
---|---|
void |
commit()
Commit.
|
ResourceType |
createBasicResourceType()
Creates the basic resource type.
|
void |
discard()
Discard.
|
ResourceType |
getResourceType()
Gets the resource type.
|
String |
getResourceTypeName()
Gets the resource type name.
|
boolean |
isReadOnly() |
void |
setReadOnly(boolean readOnly) |
void |
setResourceType(ResourceType resourceType)
Sets the resource type.
|
getComponentCount, getCompositionRoot, iterator, setCompositionRoot
addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getState, getState, getStyleName, getWidth, getWidthUnits, isConnectorEnabled, isEnabled, isImmediate, isOrHasAncestor, isVisible, removeListener, removeShortcutListener, removeStyleName, setCaption, setComponentError, setData, setDebugId, setDescription, setEnabled, setHeight, setHeight, setIcon, setId, setImmediate, setLocale, setParent, setPrimaryStyleName, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidth
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hasListeners, isAttached, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListener, addStyleName, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, removeListener, removeStyleName, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setVisible
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setSizeFull, setSizeUndefined, setWidth, setWidth
forEach, spliterator
public ResourceTypeForm()
public ResourceType getResourceType()
public void setResourceType(ResourceType resourceType)
resourceType
- the new resource typepublic ResourceType createBasicResourceType()
public void discard()
public void commit() throws com.vaadin.data.fieldgroup.FieldGroup.CommitException
com.vaadin.data.fieldgroup.FieldGroup.CommitException
- the commit exceptionpublic void setReadOnly(boolean readOnly)
setReadOnly
in interface com.vaadin.ui.Component
setReadOnly
in class com.vaadin.ui.AbstractComponent
public boolean isReadOnly()
isReadOnly
in interface com.vaadin.ui.Component
isReadOnly
in class com.vaadin.ui.AbstractComponent
public String getResourceTypeName()
Copyright © 2018. All rights reserved.