|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jhotdraw.contrib.html.HTMLLayouter
public class HTMLLayouter
HTMLLayouter implements the logic for laying out figures based on an HTML template.
Constructor Summary | |
---|---|
HTMLLayouter()
Constructor for the HTMLLayouter object |
|
HTMLLayouter(Layoutable newLayoutable)
Constructor which associates a HTMLLayouter with a certain Layoutable. |
Method Summary | |
---|---|
java.awt.Rectangle |
calculateLayout(java.awt.Point origin,
java.awt.Point corner)
Description of the Method |
Layouter |
create(Layoutable newLayoutable)
Create a new instance of this type and sets the layoutable |
java.awt.Insets |
getInsets()
Gets the insets attribute of the HTMLLayouter object |
java.awt.Rectangle |
layout(java.awt.Point origin,
java.awt.Point corner)
Description of the Method |
void |
read(StorableInput dr)
Description of the Method |
void |
setInsets(java.awt.Insets newInsets)
Sets the insets attribute of the HTMLLayouter object |
void |
write(StorableOutput dw)
Description of the Method |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HTMLLayouter()
public HTMLLayouter(Layoutable newLayoutable)
newLayoutable
- Layoutable to be laid outMethod Detail |
---|
public java.awt.Rectangle calculateLayout(java.awt.Point origin, java.awt.Point corner)
calculateLayout
in interface Layouter
origin
- Description of the Parametercorner
- Description of the Parameter
public java.awt.Rectangle layout(java.awt.Point origin, java.awt.Point corner)
layout
in interface Layouter
origin
- Description of the Parametercorner
- Description of the Parameter
public void setInsets(java.awt.Insets newInsets)
setInsets
in interface Layouter
newInsets
- The new insets valuepublic java.awt.Insets getInsets()
getInsets
in interface Layouter
public void write(StorableOutput dw)
write
in interface Storable
dw
- Description of the Parameterpublic void read(StorableInput dr) throws java.io.IOException
read
in interface Storable
dr
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic Layouter create(Layoutable newLayoutable)
create
in interface Layouter
newLayoutable
- Description of the Parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |