|
|
@ -14,10 +14,10 @@ import javax.swing.BoxLayout; |
|
|
|
import javax.swing.JComponent; |
|
|
|
import javax.swing.JComponent; |
|
|
|
import javax.swing.JPanel; |
|
|
|
import javax.swing.JPanel; |
|
|
|
import javax.swing.JScrollPane; |
|
|
|
import javax.swing.JScrollPane; |
|
|
|
import java.awt.Dimension; |
|
|
|
|
|
|
|
import java.util.Iterator; |
|
|
|
import java.util.Iterator; |
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
import java.util.LinkedHashMap; |
|
|
|
import java.util.LinkedHashMap; |
|
|
|
|
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
import java.awt.Dimension; |
|
|
|
|
|
|
|
|
|
|
|
@Open |
|
|
|
@Open |
|
|
|
public abstract class ConditionAttributesPane<T> extends BasicBeanPane<T> { |
|
|
|
public abstract class ConditionAttributesPane<T> extends BasicBeanPane<T> { |
|
|
@ -69,7 +69,12 @@ public abstract class ConditionAttributesPane<T> extends BasicBeanPane<T> { |
|
|
|
selectedItemScrollPane.setViewportView(selectedItemPane); |
|
|
|
selectedItemScrollPane.setViewportView(selectedItemPane); |
|
|
|
selectedItemScrollPane.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER); |
|
|
|
selectedItemScrollPane.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER); |
|
|
|
selectedItemScrollPane.setMinimumSize(new Dimension((int) selectedItemScrollPane.getPreferredSize().getWidth(), MIN_HEIGHT)); |
|
|
|
selectedItemScrollPane.setMinimumSize(new Dimension((int) selectedItemScrollPane.getPreferredSize().getWidth(), MIN_HEIGHT)); |
|
|
|
|
|
|
|
dealScrollPane(selectedItemScrollPane); |
|
|
|
propertyChangePane.add(selectedItemScrollPane); |
|
|
|
propertyChangePane.add(selectedItemScrollPane); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected void dealScrollPane(JScrollPane scrollPane){ |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void updateBean(T ob) { |
|
|
|
public void updateBean(T ob) { |
|
|
|