[svn r343] WIP3
This commit is contained in:
parent
62f7881380
commit
4643057b7f
35 changed files with 1166 additions and 239 deletions
|
|
@ -24,7 +24,7 @@
|
|||
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
|
||||
*/
|
||||
|
||||
package com.idcanet.vasc.impl.swing.ui;
|
||||
package com.idcanet.vasc.frontends.swing.ui;
|
||||
|
||||
import java.awt.Color;
|
||||
|
||||
|
|
@ -33,7 +33,7 @@ import javax.swing.JTextField;
|
|||
import javax.swing.event.DocumentEvent;
|
||||
import javax.swing.event.DocumentListener;
|
||||
|
||||
import com.idcanet.vasc.core.VascTable;
|
||||
import com.idcanet.vasc.core.VascEntry;
|
||||
import com.idcanet.vasc.core.ui.AbstractVascUIComponent;
|
||||
import com.idcanet.vasc.core.ui.VascValueModel;
|
||||
|
||||
|
|
@ -48,7 +48,7 @@ public class SwingTextField extends AbstractVascUIComponent {
|
|||
private JTextField textField = null;
|
||||
private Color orgBackgroundColor = null;
|
||||
|
||||
public Object createComponent(VascTable table,VascValueModel model,Object gui) throws Exception {
|
||||
public Object createComponent(VascEntry table,VascValueModel model,Object gui) throws Exception {
|
||||
textField = new JTextField();
|
||||
orgBackgroundColor = textField.getBackground();
|
||||
textField.setText(""+model.getValue());
|
||||
|
|
@ -89,7 +89,7 @@ class TextListener implements DocumentListener {
|
|||
//private VascTable table = null;
|
||||
private SwingTextField textField = null;
|
||||
|
||||
public TextListener(VascValueModel model,VascTable table,SwingTextField textField) {
|
||||
public TextListener(VascValueModel model,VascEntry table,SwingTextField textField) {
|
||||
this.model=model;
|
||||
//this.table=table;
|
||||
this.textField=textField;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue