Method getHorizontalAlignment()
Return type: int
Member of: javax.swing.AbstractButton
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 liAlign = labObject.getHorizontalAlignment();
2 if (b.getHorizontalAlignment()!=SwingConstants.CENTER)
3 button.getVerticalAlignment(), button.getHorizontalAlignment(),
4 b.getHorizontalAlignment(),
5 b.getVerticalAlignment(), b.getHorizontalAlignment(),
6 b.getVerticalAlignment(), b.getHorizontalAlignment(),
7 hA = button.getHorizontalAlignment();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.