first commit

This commit is contained in:
2025-07-28 13:56:49 +05:30
commit e9eb805edb
3438 changed files with 520990 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
package net.sf.jasperreports.engine.design;
import net.sf.jasperreports.engine.base.JRBaseQueryChunk;
import net.sf.jasperreports.engine.design.events.JRChangeEventsSupport;
import net.sf.jasperreports.engine.design.events.JRPropertyChangeSupport;
public class JRDesignQueryChunk extends JRBaseQueryChunk implements JRChangeEventsSupport {
private static final long serialVersionUID = 10200L;
public static final String PROPERTY_TEXT = "text";
public static final String PROPERTY_TOKENS = "tokens";
public static final String PROPERTY_TYPE = "type";
private transient JRPropertyChangeSupport eventSupport;
public void setType(byte type) {
byte old = this.type;
this.type = type;
getEventSupport().firePropertyChange("type", old, this.type);
}
public void setText(String text) {
Object old = this.text;
this.text = text;
getEventSupport().firePropertyChange("text", old, this.text);
}
public void setTokens(String[] tokens) {
Object old = this.tokens;
this.tokens = tokens;
getEventSupport().firePropertyChange("tokens", old, this.tokens);
}
public JRPropertyChangeSupport getEventSupport() {
synchronized (this) {
if (this.eventSupport == null)
this.eventSupport = new JRPropertyChangeSupport(this);
}
return this.eventSupport;
}
}