Module com.aoapps.html.any
Interface Width<E extends Element<?,?,E> & Width<E>>
- Type Parameters:
E
- This element type
- All Known Subinterfaces:
WidthHtml4Only<E>
public interface Width<E extends Element<?,?,E> & Width<E>>
See HTML width Attribute.
- Author:
- AO Industries, Inc.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
Deprecated.In HTML 4.01, the width could be defined in pixels or in % of the containing element. -
Method Summary
Modifier and TypeMethodDescriptiondefault E
width
(int pixels) See HTML width Attribute.width
(Suppliers.String<Ex> pixelsOrPercent) Deprecated.In HTML 4.01, the width could be defined in pixels or in % of the containing element.width
(IOSupplierE<? extends Integer, Ex> pixels) See HTML width Attribute.default E
See HTML width Attribute.default E
Deprecated.In HTML 4.01, the width could be defined in pixels or in % of the containing element.
-
Method Details
-
width
See HTML width Attribute.- Throws:
IOException
-
width
See HTML width Attribute.- Throws:
IOException
-
width
default <Ex extends Throwable> E width(IOSupplierE<? extends Integer, Ex> pixels) throws IOException, ExSee HTML width Attribute.- Type Parameters:
Ex
- An arbitrary exception type that may be thrown- Throws:
IOException
Ex
- See Also:
-
width
Deprecated.In HTML 4.01, the width could be defined in pixels or in % of the containing element. In HTML5, the value must be in pixels.See HTML width Attribute.- Throws:
IOException
-
width
@Deprecated default <Ex extends Throwable> E width(Suppliers.String<Ex> pixelsOrPercent) throws IOException, Ex Deprecated.In HTML 4.01, the width could be defined in pixels or in % of the containing element. In HTML5, the value must be in pixels.See HTML width Attribute.- Type Parameters:
Ex
- An arbitrary exception type that may be thrown- Throws:
IOException
Ex
- See Also:
-