|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.awt.GridBagConstraints
org.apache.commons.jelly.tags.swing.impl.GridBagConstraintBean
This class is a simple "bean-wrapper" for the GridBagConstraints class
which also tracks wether values are set allowing inheritance
(using setBasedOn.
| Field Summary |
| Fields inherited from class java.awt.GridBagConstraints |
anchor, BOTH, CENTER, EAST, fill, FIRST_LINE_END, FIRST_LINE_START, gridheight, gridwidth, gridx, gridy, HORIZONTAL, insets, ipadx, ipady, LAST_LINE_END, LAST_LINE_START, LINE_END, LINE_START, NONE, NORTH, NORTHEAST, NORTHWEST, PAGE_END, PAGE_START, RELATIVE, REMAINDER, SOUTH, SOUTHEAST, SOUTHWEST, VERTICAL, weightx, weighty, WEST |
| Constructor Summary | |
GridBagConstraintBean()
|
|
| Method Summary | |
java.lang.String |
getAnchor()
Returns the lower-case variant of the constant-name corresponding to the stored GridBagConstraints.anchor attribute. |
java.lang.String |
getFill()
Returns the lower-case variant of the constant-name corresponding to the stored GridBagConstraints.fill attribute. |
int |
getGridheight()
|
int |
getGridwidth()
|
int |
getGridx()
|
int |
getGridy()
|
java.awt.Insets |
getInsets()
|
int |
getIpadx()
|
int |
getIpady()
|
double |
getWeightx()
|
double |
getWeighty()
|
void |
setAnchor(java.lang.String anchorString)
Accepts one of the strings with the same name as the constants and sets the GridBagConstraints.anchor value accordingly.
|
void |
setBasedOn(GridBagConstraintBean from)
Reads the values in the given grid-bag-constraint-bean that are set and sets them in this object if they have not been set yet. |
void |
setFill(java.lang.String fillString)
Accepts one of the strings with the same name as the constants and sets the GridBagConstraints.fill value accordingly.
|
void |
setGridheight(int gridheight)
|
void |
setGridwidth(int gridwidth)
|
void |
setGridx(int gridx)
|
void |
setGridy(int gridy)
|
void |
setInsets(java.awt.Insets insets)
|
void |
setIpadx(int ipadx)
|
void |
setIpady(int ipady)
|
void |
setWeightx(double weightx)
|
void |
setWeighty(double weighty)
|
java.lang.String |
toString()
|
| Methods inherited from class java.awt.GridBagConstraints |
clone |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public GridBagConstraintBean()
| Method Detail |
public int getGridx()
public void setGridx(int gridx)
public int getGridy()
public void setGridy(int gridy)
public int getGridwidth()
public void setGridwidth(int gridwidth)
public int getGridheight()
public void setGridheight(int gridheight)
public double getWeightx()
public void setWeightx(double weightx)
public double getWeighty()
public void setWeighty(double weighty)
public int getIpadx()
public void setIpadx(int ipadx)
public int getIpady()
public void setIpady(int ipady)
public java.awt.Insets getInsets()
public void setInsets(java.awt.Insets insets)
public java.lang.String getAnchor()
GridBagConstraints.anchor attribute.
GridBagConstraints.anchorpublic void setAnchor(java.lang.String anchorString)
GridBagConstraints.anchor value accordingly.
The accepted strings are case-insensitive.
GridBagConstraints.anchorpublic java.lang.String getFill()
GridBagConstraints.fill attribute.
GridBagConstraints.fillpublic void setFill(java.lang.String fillString)
GridBagConstraints.fill value accordingly.
The accepted strings are case-insensitive.
GridBagConstraints.fillpublic void setBasedOn(GridBagConstraintBean from)
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||