
com.sibvisions.rad.ui.vaadin.impl.VaadinResource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jvxvaadin-server Show documentation
Show all versions of jvxvaadin-server Show documentation
Vaadin UI implementation for JVx
The newest version!
/*
* Copyright 2013 SIB Visions GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*
*
* History
*
* 24.09.2013 - [CB] - creation
*/
package com.sibvisions.rad.ui.vaadin.impl;
/**
* The VaadinResource
class is a {@link VaadinResourceBase} that defines the resource type (for internal usage)
* and the component type which will be used for accessing the resource via {@link #getResource()}. This class allows
* type-safe resource access.
*
* @author Ren? Jahn
*
* @param the component type returned from the resource
* @param the resource type
*/
public abstract class VaadinResource extends VaadinResourceBase
{
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Initialization
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/**
* Creates a new instance of VaadinResource
for the given
* resource.
*
* @param pResource the platform dependent resource
*/
protected VaadinResource(R pResource)
{
super(pResource);
}
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Overwritten methods
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/**
* {@inheritDoc}
*/
public C getResource()
{
return (C)resource;
}
} // VaadinResourceBase
© 2015 - 2025 Weber Informatics LLC | Privacy Policy