![JAR search and dependency download from the Maven repository](/logo.png)
org.fit.cssbox.layout.ReplacedBox Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cssbox Show documentation
Show all versions of cssbox Show documentation
CSSBox is an (X)HTML/CSS rendering engine written in pure Java. Its primary purpose is to provide a
complete information about the rendered page suitable for further processing. However, it also allows
displaying the rendered document.
/**
* ReplacedBox.java
* Copyright (c) 2005-2007 Radek Burget
*
* CSSBox is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* CSSBox is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with CSSBox. If not, see .
*
* Created on 6.2.2009, 16:48:52 by burgetr
*/
package org.fit.cssbox.layout;
import java.awt.Graphics2D;
/**
* Common interface for both the inline and block replaced boxes
*
* @author burgetr
*/
public interface ReplacedBox
{
/**
* @return the content object
*/
public ReplacedContent getContentObj();
/**
* @param obj the obj to set
*/
public void setContentObj(ReplacedContent obj);
/**
* Draws the box replaced content.
* @param g
*/
public void drawContent(Graphics2D g);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy