All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax.swing.LayoutStyle Maven / Gradle / Ivy

Go to download

JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.

There is a newer version: 0.6.8
Show newest version
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy