java.awt.LayoutManager2源码实例Demo

类java.awt.LayoutManager2源码实例Demo

下面列出了java.awt.LayoutManager2 类实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

源代码1 项目: RipplePower   文件: Panels.java
public static JPanel newPanel(LayoutManager2 layout) {
	JPanel panel = new JPanel(layout);
	panel.setBackground(UIConfig.dialogbackground);
	panel.setOpaque(false);
	panel.applyComponentOrientation(LangConfig.currentComponentOrientation());
	return panel;
}
 
源代码2 项目: magarena   文件: FilterDialog.java
/**
 * Default layout. Variable sized main panel containing filter
 * values above fixed sized action bar.
 */
protected LayoutManager2 getLayoutManager() {
   return new MigLayout("flowy, gap 0, insets 0",
            "[fill, grow]",         // column layout
            "[fill, grow]3[fill]"   // row layout
    );
}
 
源代码3 项目: RipplePower   文件: RoundedPanel.java
public RoundedPanel(LayoutManager2 layout) {
	super(layout);
	setOpaque(false);
	this.cornerRadius = LSystem.COMPONENT_CORNER_RADIUS;
}
 
源代码4 项目: RipplePower   文件: Panels.java
public static JPanel newRoundedPanel(LayoutManager2 layout) {

		JPanel panel = new RoundedPanel(layout);

		return panel;

	}
 
源代码5 项目: gcs   文件: Wrapper.java
/**
 * Creates a new {@link Wrapper}.
 *
 * @param layout The layout to use.
 */
public Wrapper(LayoutManager2 layout) {
    super(layout);
    setOpaque(false);
}
 
源代码6 项目: stendhal   文件: AnimatedLayout.java
/**
 * Create a new AnimatedLayout.
 *
 * @param proxy layout manager to be used for determining the desired layout
 */
public AnimatedLayout(LayoutManager2 proxy) {
	this.proxy = proxy;
	animations = new WeakHashMap<Container, Animator>(5);
}
 
源代码评论
动弹
沙发等你来抢
 类所在包
 类方法
 同包方法