javax.swing.LayoutStyle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jtransc-rt Show documentation
Show all versions of jtransc-rt Show documentation
JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.
package javax.swing;
import java.awt.*;
@SuppressWarnings("WeakerAccess")
public abstract class LayoutStyle {
native public static void setInstance(LayoutStyle style);
native public static LayoutStyle getInstance();
public enum ComponentPlacement {
RELATED, UNRELATED, INDENT;
}
public LayoutStyle() {
}
public abstract int getPreferredGap(JComponent component1, JComponent component2, ComponentPlacement type, int position, Container parent);
public abstract int getContainerGap(JComponent component, int position, Container parent);
}