forked from fanruan/design
kerry
5 years ago
6 changed files with 66 additions and 5 deletions
@ -0,0 +1,18 @@
|
||||
package com.fr.design.report.fit.menupane; |
||||
|
||||
|
||||
/** |
||||
* Created by kerry on 2020-04-09 |
||||
*/ |
||||
public abstract class AbstractFormAdaptiveConfigUI implements FormAdaptiveConfigUI { |
||||
|
||||
@Override |
||||
public int currentAPILevel() { |
||||
return CURRENT_LEVEL; |
||||
} |
||||
|
||||
@Override |
||||
public int layerIndex() { |
||||
return DEFAULT_LAYER_INDEX; |
||||
} |
||||
} |
@ -0,0 +1,26 @@
|
||||
package com.fr.design.report.fit.menupane; |
||||
|
||||
import com.fr.design.beans.BasicBeanPane; |
||||
import com.fr.stable.fun.mark.Immutable; |
||||
|
||||
import javax.swing.JComponent; |
||||
import java.awt.Dimension; |
||||
import java.awt.image.BufferedImage; |
||||
|
||||
|
||||
/** |
||||
* Created by kerry on 2020-04-09 |
||||
*/ |
||||
public interface FormAdaptiveConfigUI extends Immutable { |
||||
|
||||
String MARK_STRING = "FormAdaptiveConfigUI"; |
||||
int CURRENT_LEVEL = 1; |
||||
|
||||
|
||||
BasicBeanPane getConfigPane(); |
||||
|
||||
BufferedImage getElementCaseImage(Dimension size, JComponent elementCasePane); |
||||
|
||||
|
||||
} |
||||
|
Loading…
Reference in new issue