com.google.gwt.dom.builder.shared.FrameBuilder Maven / Gradle / Ivy
/*
* Copyright 2011 Google Inc.
*
* 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.
*/
package com.google.gwt.dom.builder.shared;
/**
* Builds an frame element.
*/
public interface FrameBuilder extends ElementBuilderBase {
/**
* Request frame borders.
*
* @see W3C
* HTML Specification
*/
FrameBuilder frameBorder(int frameBorder);
/**
* URI designating a long description of this image or frame.
*
* @see W3C
* HTML Specification
*/
FrameBuilder longDesc(String longDesc);
/**
* Frame margin height, in pixels.
*
* @see W3C
* HTML Specification
*/
FrameBuilder marginHeight(int marginHeight);
/**
* Frame margin width, in pixels.
*
* @see W3C
* HTML Specification
*/
FrameBuilder marginWidth(int marginWidth);
/**
* The frame name (object of the target attribute).
*
* @see W3C
* HTML Specification
*/
FrameBuilder name(String name);
/**
* Forbid user from resizing frame.
*
* @see W3C
* HTML Specification
*/
FrameBuilder noResize();
/**
* Specify whether or not the frame should have scrollbars.
*
* @see W3C
* HTML Specification
*/
FrameBuilder scrolling(String scrolling);
/**
* A URI designating the initial frame contents.
*
* @see W3C
* HTML Specification
*/
FrameBuilder src(String src);
}