Browse Source

REPORT-62440 表头排序内置

feature/x
Henry.Wang 3 years ago
parent
commit
bd82a9d694
  1. 2
      designer-base/src/main/java/com/fr/design/event/ComponentChangeListener.java
  2. 4
      designer-base/src/main/java/com/fr/design/gui/frpane/AbstractAttrNoScrollPane.java

2
designer-base/src/main/java/com/fr/design/event/ComponentChangeListener.java

@ -3,5 +3,5 @@ package com.fr.design.event;
import java.awt.*; import java.awt.*;
public interface ComponentChangeListener { public interface ComponentChangeListener {
void initListener(Container parentComponent); void initListener(Container changedComponent);
} }

4
designer-base/src/main/java/com/fr/design/gui/frpane/AbstractAttrNoScrollPane.java

@ -109,8 +109,8 @@ public abstract class AbstractAttrNoScrollPane extends BasicPane {
ComponentChangeObserver uiChangeableObserver = ((ComponentChangeObserver)tmpComp); ComponentChangeObserver uiChangeableObserver = ((ComponentChangeObserver)tmpComp);
uiChangeableObserver.registerChangeListener(new ComponentChangeListener() { uiChangeableObserver.registerChangeListener(new ComponentChangeListener() {
@Override @Override
public void initListener(Container parentComponent) { public void initListener(Container changedComponent) {
AbstractAttrNoScrollPane.this.initListener(parentComponent); AbstractAttrNoScrollPane.this.initListener(changedComponent);
} }
}); });
} }

Loading…
Cancel
Save