Method setAlignmentY(float alignmentY)
Return type: void
Member of:
javax.swing.JComponent
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
button.setAlignmentY(0.5f);
2
jButton1.setAlignmentY((float) 0.1);
3
jbuttonClear.setAlignmentY(0.5F);
4
jButtonOk.setAlignmentY((float) 0.0);
5
c.setAlignmentY(Component.CENTER_ALIGNMENT);
6
p.setAlignmentY(TOP_ALIGNMENT);
7
detailsScrollPane.setAlignmentY(1.0F);
8
setAlignmentY(0.0F);
9
newButton.setAlignmentY(0.5f);
10
((JComponent) c).setAlignmentY(verticalAlign);
11
messageTextJScrollPane.setAlignmentY(0.1F);
12
idPanel.setAlignmentY(Component.TOP_ALIGNMENT);
13
sortButton.setAlignmentY(JComponent.CENTER_ALIGNMENT);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.