public class BaseLayoutStyle extends LayoutStyle
LayoutStyle.ComponentPlacement| Modifier and Type | Field and Description |
|---|---|
static BaseLayoutStyle |
INSTANCE |
| Constructor and Description |
|---|
BaseLayoutStyle() |
| Modifier and Type | Method and Description |
|---|---|
int |
getContainerGap(JComponent component,
int position,
Container parent) |
int |
getPreferredGap(JComponent component1,
JComponent component2,
LayoutStyle.ComponentPlacement type,
int position,
Container parent) |
getInstance, setInstancepublic static final BaseLayoutStyle INSTANCE
public int getContainerGap(JComponent component, int position, Container parent)
getContainerGap in class LayoutStylepublic int getPreferredGap(JComponent component1, JComponent component2, LayoutStyle.ComponentPlacement type, int position, Container parent)
getPreferredGap in class LayoutStyleCopyright © 2015 Revolution Systems Inc.. All rights reserved.