HorizontalRule Component
An Echo component which implements the HTML <hr> tag. This component
is based directly on the
Echo2 "Writing your own Component Peers Tutorials"
write-up by Brad Baker.
NB: All presentation attributes of the HTML <hr> tag
have beeen deprecated as of HTML v4.01. Hence setting properties of this Echo component
are not guaranteed to work in the future.
Demonstration
Default HorizontalRule component
HorizontalRule component, width set to 300px
HorizontalRule component with height of 5px and a color of '#ff0000' or red
HorizontalRule component with a border of '1px dotted #000000'
HorizontalRule - Summary API
package org.informagen.echo.app;
import nextapp.echo.app.Component;
import nextapp.echo.app.Border;
import nextapp.echo.app.Color;
import nextapp.echo.app.Extent;
public class HorizontalRule extends Component {
public void setHeight(Extent newValue)
public Extent getHeight()
public void setWidth(Extent newValue)
public Extent getWidth()
public void setColor(Color newValue)
public Color getColor()
public void setBorder(Border newValue)
public Border getBorder()
}