Home | History | Annotate | Download | only in gui

Lines Matching refs:Component

66      * Adds a component with a given title to the tabbed pane.
69 * @param component the component that will be added as a tab.
71 public Component add(final String title, Component component)
137 cardPanel.add(title, component);
139 return component;
148 * @return the component containing the image.
150 public Component addImage(final Image image)
158 JButton component = new JButton(new ImageIcon(image));
159 component.setFocusPainted(false);
160 component.setFocusable(false);
161 component.setRequestFocusEnabled(false);
162 component.setRolloverEnabled(false);
163 component.setMargin(new Insets(0, 0, 0, 0));
164 component.setHorizontalAlignment(JButton.LEFT);
165 component.setVerticalAlignment(JButton.BOTTOM);
166 component.setPreferredSize(new Dimension(0, 0));
168 add(component, imageConstraints);
170 return component;
221 Component card = cardPanel.getComponent(index);