Java tutorial
/******************************************************************************* * Copyright (c) 2014 Agnie Technologies. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Public License v3.0 * which accompanies this distribution, and is available at * http://www.gnu.org/licenses/gpl.html * * Contributors: * Agnie Technologies - initial API and implementation ******************************************************************************/ package com.agnie.gwt.common.client.widget; import com.google.gwt.core.client.GWT; import com.google.gwt.resources.client.ClientBundle; import com.google.gwt.resources.client.ImageResource; import com.google.gwt.resources.client.ImageResource.ImageOptions; import com.google.gwt.resources.client.ImageResource.RepeatStyle; public interface GreenButtonResources extends ClientBundle { public static GreenButtonResources INSTANCE = GWT.create(GreenButtonResources.class); @Source("GreenButtonCss.css") GreenButtonCss css(); @Source("button_left.png") ImageResource leftGrnBtn(); @Source("button_right.png") ImageResource rightGrnBtn(); @ImageOptions(repeatStyle = RepeatStyle.Horizontal) @Source("button_body.png") ImageResource bodyGrnBtn(); }