text stringlengths 3 1.18M |
|---|
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2009 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
package com.google.android.apps.mytracks.services.sensors;
import com.google.android.apps.mytracks.content.Sensor;
import junit.framework.TestCase;
public class ZephyrMessageParserTest extends TestCase {
ZephyrMessageParser parser = new ZephyrMessageParser();
public void testIsValid() {
byte[] buf = new by... |
/*
* Copyright 2009 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/*
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/*
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2008 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/*
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/*
* Copyright 2009 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/*
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/*
* Copyright 2009 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/*
* Copyright 2008 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/*
* Copyright 2008 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/*
* Copyright 2008 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/*
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/*
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
package finalfrontier;
import java.awt.Color;
import java.awt.Font;
import java.awt.FontMetrics;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.awt.image.BufferedImage;
import java.awt.image.DataBuffer;
import java.awt.image.DataBufferByte;
import java.awt.image.DataBufferInt;
import java.nio.... |
package finalfrontier;
/**Classe de beam
* @author Nicolas Roy Boourdages
*/
public class BeamCarnivore extends Beam {
public BeamCarnivore(String string, int i, float[] floats) {
super(string, i, floats);
}
public void beamEffect(int i, int j, int q, int w){
if(WorldMap.isEmpty(i +... |
package finalfrontier;
import java.io.IOException;
import org.lwjgl.opengl.GL11;
/**
* Implementation of sprite that uses an OpenGL quad and a texture
* to render a given image to the screen.
*
* @author Kevin Glass
* @author Brian Matzon
*/
public class LWJGLSprite implements Sprite {
/** The texture that ... |
package finalfrontier;
import java.util.Vector;
/**Classe pour l'affichage des stats
* @author Nicolas Roy Boourdages
*/
public class Stats
{
private Vector<Integer> population;
private Vector<Integer> populationC;
private Vector<Integer> populationH;
private Vector<Integer> populationM;
private Vec... |
package finalfrontier;
/**Classe pour l'effet du beam sur la carte
* @author Nicolas Roy Boourdages
*/
public class Effect
{
private int x;
private int y;
private float[] rgba;
private int lifetime = 100;
public Effect()
{
super();
}
public Effect(int x, int y, float[] f, int lifetime)
... |
package finalfrontier;
/**Classe de beam
* @author Nicolas Roy Boourdages
*/
public class BeamVegetation extends Beam {
public BeamVegetation(String string, int i, float[] floats) {
super(string, i, floats);
}
public void beamEffect(int i, int j, int q, int w){
WorldMap.getMapSol(i ... |
package finalfrontier;
/**Classe de beam
* @author Nicolas Roy Boourdages
*/
public class BeamTarget extends Beam {
public BeamTarget(String string, int i, float[] floats) {
super(string, i, floats);
}
public void beamEffect(int i, int j, int q, int w){
if( q == 0 && w == 0){
... |
package finalfrontier;
/**
* A sprite to be displayed on the screen. Note that a sprite
* contains no state information, i.e. its just the image and
* not the location. This allows us to use a single sprite in
* lots of different places without having to store multiple
* copies of the image.
*
* @author Kevi... |
package finalfrontier;
import java.util.Random;
/**Superclasse de tous les beams
* @author Nicolas Roy Boourdages
*/
public class Beam {
private String name;
private int cost;
private float[] color;
private Random random;
public Beam(String name, int cost, float[] color) {
super... |
package finalfrontier;
import java.io.Serializable;
/**Nouvelle version de CarreVie
* @author Nicolas Roy Boourdages
*/
public class CarreVieElite extends CarreVie implements Serializable {
private static String s = "";
private static int i = 0;
private static int ecartX, ecartY;
public Ca... |
package finalfrontier;
import java.awt.image.BufferedImage;
import java.io.IOException;
/*
* Copyright (c) 2002-2010 LWJGL Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* *... |
package finalfrontier;
import java.io.Serializable;
import java.util.Vector;
/**Classe AnimalElite
* @author Nicolas Roy Boourdages
*/
public class AnimalElite extends CarreVieElite implements Serializable {
private int lastFrame = 0;
private float[] color = new float[3];
private Vector<... |
package finalfrontier;
/**Classe de beam
* @author Nicolas Roy Boourdages
*/
public class BeamMineraux extends Beam {
public BeamMineraux(String string, int i, float[] floats) {
super(string, i, floats);
}
public void beamEffect(int i, int j, int q, int w){
WorldMap.getMapSol(i + q,... |
package finalfrontier;
/**Classe de beam
* @author Nicolas Roy Boourdages
*/
public class BeamInformation extends Beam {
public BeamInformation(String string, int i, float[] floats) {
super(string, i, floats);
}
public void beamEffect(int i, int j, int q, int w){
if( q == 0 && w == ... |
package finalfrontier;
/**Classe de beam
* @author Nicolas Roy Boourdages
*/
public class BeamAge
extends Beam
{
public BeamAge(String string, int i, float[] floats)
{
super(string, i, floats);
}
public void beamEffect(int i, int j, int q, int w){
if(!WorldMap.isEmpty(i + q, j + w)){
... |
package finalfrontier;
import java.util.Random;
import java.util.Vector;
/**Classe qui contient les beams et leur utilisation
* @author Nicolas Roy Boourdages
*/
public class Player {
private static Vector<Beam> beams;
private static int selectedIndex;
public Player() {
super();
... |
package finalfrontier;
/**Classe de beam
* @author Nicolas Roy Boourdages
*/
public class BeamDestruction extends Beam {
public BeamDestruction(String name, int cost, float[] color) {
super(name, cost, color);
}
public void beamEffect(int i, int j, int q, int w){
WorldMap.kill(... |
package finalfrontier;
import java.io.Serializable;
import java.util.Vector;
/**Classe AnimalCustom
* @author Nicolas Roy Boourdages
*/
public class AnimalCustom extends CarreVieElite implements Serializable {
private boolean wedlock = false;
private int lastFrame = 0;
private float[] color = new ... |
package finalfrontier;
import org.lwjgl.opengl.GL11;
/**
* A texture to be bound within JOGL. This object is responsible for
* keeping track of a given OpenGL texture and for calculating the
* texturing mapping coordinates of the full image.
*
* Since textures need to be powers of 2 the actual texture may be
... |
package finalfrontier;
import java.io.Serializable;
import java.util.Vector;
/**Classe AnimalMutant
* @author Nicolas Roy Boourdages
*/
public class AnimalMutant extends CarreVieElite implements Comportement,
Serializable {
private Vector<Coord> c... |
package finalfrontier;
import java.io.Serializable;
import java.util.Random;
import java.util.Vector;
/**Classe AnimalCarnivore
* @author Nicolas Roy Boourdages
*/
public class AnimalCarnivore extends CarreVieElite implements Comportement,
Serializable ... |
package finalfrontier;
/**Classe de beam
* @author Nicolas Roy Boourdages
*/
public class BeamEnergie
extends Beam
{
public BeamEnergie(String string, int i, float[] floats)
{
super(string, i, floats);
}
public void beamEffect(int i, int j, int q, int w){
if(!WorldMap.isEmpty(i + q, j + w)){
... |
package finalfrontier;
/**Classe de beam
* @author Nicolas Roy Boourdages
*/
public class BeamHerbivore extends Beam {
public BeamHerbivore(String string, int i, float[] floats) {
super(string, i, floats);
}
public void beamEffect(int i, int j, int q, int w){
if(WorldMap.isEmpty(i +... |
// $ANTLR 3.2 Sep 23, 2009 12:02:23 E:\\Code\\Java\\anncsr2.0\\anncsr-core\\src\\main\\resources\\antlr.g\\Expr.g 2011-05-08 21:28:15
import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;
public class ExprLexer extends Lexer {
public static final int Number... |
// $ANTLR 3.2 Sep 23, 2009 12:02:23 E:\\Code\\Java\\anncsr2.0\\anncsr-core\\src\\main\\resources\\antlr.g\\Expr.g 2011-05-08 21:28:15
import com.priorbi.util.ObjectUtils;
import com.priorbi.report.script.ScriptContext;
import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.ut... |
/**
* 报表设计公司(2011)
*/
package com.reportgear.swing.util;
import java.io.ByteArrayOutputStream;
import java.io.OutputStream;
import java.io.PrintStream;
import javax.swing.JComponent;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
/**
* 标准IO消息重定向
*
* @version 1.0 2011-3-14
* @au... |
/**
* 报表设计公司(2011)
*/
package com.reportgear.swing.util;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.GraphicsEnvironment;
import java.awt.Image;
import java.awt.Point;
import java.awt.Rectangle;
import ja... |
/**
* Swing-组件
*/
package com.reportgear.swing.controls; |
/**
* 报表设计公司(2011)
*/
package com.reportgear.swing.controls;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.event.KeyListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListe... |
/**
* 报表设计公司(2011)
*/
package com.reportgear.core.swing.pane.base;
import java.awt.BorderLayout;
import java.awt.Window;
import javax.swing.JPanel;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* 基本Pane面板
*
* @version 1.0 2011-3-24
* @author <a herf="lexloo@gmail.com">lexloo</... |
/**
* 报表设计公司(2011)
*/
package com.reportgear.core.swing.pane.base;
import java.awt.BorderLayout;
import java.awt.GridLayout;
import java.awt.Window;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.WindowAdapter;
import java.aw... |
/**
* ReportGear(2011)
*/
package com.reportgear.core.swing.pane.base;
import java.awt.Component;
/**
* 编辑器面板
*
* @version 1.0 2011-4-28
* @author <a herf="lexloo@gmail.com">lexloo</a>
* @since Report 1.0
*/
public abstract class EditorPane<T> extends JBasePane {
/**
* UID
*/
private ... |
/**
* ReportGear(2011)
*/
package com.reportgear.core.swing.util;
import java.awt.Dimension;
import java.awt.Toolkit;
import java.awt.Window;
/**
* Swing实用类
*
* @version 1.0 2011-4-12
* @author <a herf="lexloo@gmail.com">lexloo</a>
* @since Report 1.0
*/
public class SwingUtils {
/**
* 设... |
/**
* ReportGear(2011)
*/
package com.reportgear.core.swing.util;
import java.awt.Color;
/**
*
*
* @version 1.0 2011-4-14
* @author <a herf="lexloo@gmail.com">lexloo</a>
* @since Report 1.0
*/
public class ColorUtils {
// Color转换为16进制显示
public static String toHexEncoding(Color color) {
... |
/**
* 核心支持-事件监听支持
*/
package com.reportgear.core.event; |
/**
* ReportGear(2011)
*/
package com.reportgear.core.event;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.apache.log4j.Logger;
/**
* 核心-通用监听器支持
*
* @version 1.0 2011-4-22
* @author <a herf="lexloo@gmail.com">lexloo</a>
* @since Report 1.0
*/
p... |
/**
* ReportGear(2011)
*/
package com.reportgear.core.api;
/**
* 对象克隆,继承java.lang.Cloneable
*
* @version 1.0 2011-4-26
* @author <a herf="lexloo@gmail.com">lexloo</a>
* @since Report 1.0
*/
public interface Cloneable<T> extends java.lang.Cloneable {
/**
* 对象克隆
*
* @return 克隆后的对象
*/
... |
/**
* ReportGear(2011)
*/
package com.reportgear.core.api;
/**
* 基本对象,作为所有对象的基类
*
* @version 1.0 2011-4-26
* @author <a herf="lexloo@gmail.com">lexloo</a>
* @since Report 1.0
*/
public class BaseObject implements Cloneable<BaseObject> {
/**
* 对象克隆
*/
public BaseObject clone() {
try {
... |
/**
* ReportGear(2011)
*/
package com.reportgear.core.api;
import org.dom4j.Element;
/**
* 样式Xml 序列化,读时返回对象
*
* @version 1.0 2011-4-13
* @author <a herf="lexloo@gmail.com">lexloo</a>
* @since Report 1.0
*
*/
public interface XmlSerializerWithReadReturn<T> {
/**
* 序列化到XML-DOM
*
* ... |
/**
* ReportGear(2011)
*/
package com.reportgear.core.api;
/**
* 名称化对象
*
* @version 1.0 2011-4-26
* @author <a herf="lexloo@gmail.com">lexloo</a>
* @since Report 1.0
*/
public class NameObject<T> extends BaseObject implements Nameable {
protected String name;
protected T object;
public Nam... |
/**
* 核心支持-核心接口
*/
package com.reportgear.core.api; |
/**
* ReportGear(2011)
*/
package com.reportgear.core.api;
import org.dom4j.Element;
/**
* Xml 序列化
*
* @version 1.0 2011-4-13
* @author <a herf="lexloo@gmail.com">lexloo</a>
* @since Report 1.0
*
*/
public interface XmlSerializer {
/**
* 序列化到XML-DOM
*
* @param parent
* ... |
/**
* ReportGear(2011)
*/
package com.reportgear.core.api;
/**
* 可名称化
*
* @version 1.0 2011-4-25
* @author <a herf="lexloo@gmail.com">lexloo</a>
* @since Report 1.0
*/
public interface Nameable {
/**
* 获取名称
*
* @return 名称
*/
public String getName();
/**
* 设置名称
*
* @p... |
/**
* ReportGear(2011)
*/
package com.reportgear.core.api;
/**
* 对象包含一个值对象,并且值是可设置与清除的
*
* @version 1.0 2011-3-9
* @author <a herf="lexloo@gmail.com">lexloo</a>
* @since Report 1.0
*/
public interface Valueable<T> {
/**
* 获取值
*
* @return 值
*/
public T getValue();
/**
* 设置值
... |
/**
* ReportGear(2011)
*/
package com.reportgear.core.util;
/**
* 单位转换实用类<br/>
* 系统中所有存储的单位使用英寸
*
* @version 1.0 2011-5-8
* @author <a herf="lexloo@gmail.com">lexloo</a>
* @since Report 1.0
*/
public class UnitUtils {
/**
* 磅每英寸 - 1磅等于1/72英寸
*/
public static final double PT_PER_INCH = ... |
/**
* 报表核心-实用类
*/
package com.reportgear.core.util; |
/**
* ReportGear(2011)
*/
package com.reportgear.core.util;
import java.awt.Image;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.HashMap;
import java.util.Map;
i... |
/**
* ReportGear(2011)
*/
package com.reportgear.core.util;
import java.util.List;
import com.reportgear.core.api.Cloneable;
/**
* 系统核心实用类
*
* @version 1.0 2011-5-8
* @author <a herf="lexloo@gmail.com">lexloo</a>
* @since Report 1.0
*/
public class BaseUtils {
/**
* 列表克隆复制 (深度克隆)
*... |
/**
* ReportGear(2011)
*/
package com.reportgear.core.xml;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;
import org.dom4j.Document;
import org.dom4j.DocumentException;
import org.dom4j.DocumentHelper;
import org.dom4j.io.OutputFormat;
import or... |
/**
* ReportGear(2011)
*/
package com.reportgear.core.data;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import org.dom4j.Attribute;
import org.dom4j.Document;
import org.dom4j.Element;
import netscape.javascript.JSObject;
import com.reportgear.core.data.model.SalaryData... |
/**
* 报表核心-数据-模型
*/
package com.reportgear.core.data.model; |
/**
* ReportGear(2011)
*/
package com.reportgear.core.data.model;
/**
* 报表核心-数据-模型
*
* @version 1.0 2011-4-11
* @author <a herf="lexloo@gmail.com">lexloo</a>
* @since Report 1.0
*/
public interface DataModel {
// public static final Logger logger =
// LoggerFactory.getLogger(DataModel.class.ge... |
/**
* ReportGear(2011)
*/
package com.reportgear.core.data.model;
import java.util.Collections;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import com.reportgear.core.data.SalaryHelper;... |
/**
* ReportGear(2011)
*/
package com.reportgear.core.data.model;
import java.util.HashMap;
import java.util.Map;
import com.sot.core.util.NumberUtils;
import com.sot.core.util.StringUtils;
/**
* 薪酬数据对象,存储XML查询出来的结果,只有少量数据时使用
*
* @version 1.0 2011-5-26
* @author <a herf="lexloo@gmail.com">lexlo... |
/**
* ReportGear(2011)
*/
package com.reportgear.core.data;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.dom4j.Attribute;
import org.dom4j.Document;
import org.dom4j.Element;
import com.reportgear.core.data.model.SalaryDataObject;
import com.reportgear.c... |
/**
* ReportGear(2011)
*/
package com.reportgear.core.data;
import java.util.List;
import java.util.Set;
import com.reportgear.core.data.model.SalaryDataObject;
import com.reportgear.report.model.cell.value.salary.SalaryObjectType;
/**
* 薪酬数据查询代理
*
* @version 1.0 2011-5-28
* @author <a herf="le... |
/**
* ReportGear(2011)
*/
package com.reportgear.core.data;
import java.util.List;
import java.util.Set;
import org.dom4j.Attribute;
import org.dom4j.Document;
import org.dom4j.Element;
import com.reportgear.core.data.model.SalaryDataObject;
import com.reportgear.core.xml.Dom4jUtils;
import com.repor... |
/**
* ReportGear(2011)
*/
package com.reportgear.core.data;
import java.util.List;
import java.util.Set;
import com.reportgear.core.data.model.SalaryDataObject;
import com.reportgear.report.model.cell.value.salary.SalaryObjectType;
import com.reportgear.report.setting.ApplicationContext;
/**
* 电信薪酬帮助... |
/**
* ReportGear(2011)
*/
package com.reportgear.core.data;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
import com.reportgear.report.core.api.idname.Defa... |
/**
* ReportGear(2011)
*/
package com.reportgear.report.setting;
import netscape.javascript.JSObject;
/**
* Appelt配置信息
*
* @version 1.0 2011-4-16
* @author <a herf="lexloo@gmail.com">lexloo</a>
* @since Report 1.0
*/
public enum AppletSettings {
INSTANCE;
private JSObject jsObject;
pu... |
/**
* 报表设计公司(2011)
*/
package com.reportgear.report.setting;
import org.dom4j.Element;
import com.reportgear.core.api.XmlSerializerWithReadReturn;
import com.reportgear.report.model.headerfooter.ReportHF;
import com.sot.core.util.NumberUtils;
/**
* 报表核心-模型配置
*
* @version 1.0 2011-3-23
* @author... |
/**
* ReportGear(2011)
*/
package com.reportgear.report.setting;
import java.awt.print.PageFormat;
import org.dom4j.Element;
import com.reportgear.core.api.XmlSerializerWithReadReturn;
import com.reportgear.report.print.Margin;
import com.reportgear.report.print.PaperSize;
import com.sot.core.util.Numb... |
/**
* ReportGear(2011)
*/
package com.reportgear.report.setting;
/**
* 应用程序上下文
*
* @version 1.0 2011-4-17
* @author <a herf="lexloo@gmail.com">lexloo</a>
* @since Report 1.0
*/
public enum ApplicationContext {
INSTANCE;
private boolean applet = false;
/**
* 设置是否为applet环境,默认为否
*
... |
/**
* ReportGear(2011)
*/
package com.reportgear.report.model.calculator;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import com.reportgear.core.data.SalaryHelper;
import com.reportgear.core.data.model.SalaryDataObject;
import com.reportgear.repor... |
/**
* ReportGear(2011)
*/
package com.reportgear.report.model.calculator;
import java.util.Iterator;
import com.reportgear.report.model.ReportModel;
import com.reportgear.report.model.cell.Cell;
import com.reportgear.report.model.cell.style.Style;
import com.sot.core.util.StringUtils;
/**
* 清理空单元格
... |
/**
* ReportGear(2011)
*/
package com.reportgear.report.model.calculator;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import com.reportgear.core.data.SalaryHelper;
import com.reportgear.core.data.model.SalaryDataObject;
i... |
/**
* 报表核心-模型-计算
*/
package com.reportgear.report.model.calculator; |
/**
* ReportGear(2011)
*/
package com.reportgear.report.model.calculator;
/**
* Id与父Id对象
*
* @version 1.0 2011-6-16
* @author <a herf="lexloo@gmail.com">lexloo</a>
* @since Report 1.0
*/
public class IdParentId {
public final int id;
public final int parentId;
public IdParentId(int id, int... |
/**
* ReportGear(2011)
*/
package com.reportgear.report.model.calculator;
import java.util.Iterator;
import com.reportgear.report.context.ReportContext;
import com.reportgear.report.model.ReportModel;
import com.reportgear.report.model.cell.Cell;
import com.reportgear.report.model.cell.value.salary.Salary... |
/**
* ReportGear(2011)
*/
package com.reportgear.report.model.calculator;
/**
* Session信息
*
* @version 1.0 2011-6-16
* @author <a herf="lexloo@gmail.com">lexloo</a>
* @since Report 1.0
*/
public class SessionInfo {
// 部门
private String branchName;
// 组织机构
private String organization;
// ... |
/**
* ReportGear(2011)
*/
package com.reportgear.report.model.calculator;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import com.reportgear.core.data.SalaryHelper;
import com.reportgear.core.data.model.SalaryDataObject;
i... |
/**
* ReportGear(2011)
*/
package com.reportgear.report.model.calculator;
import java.util.Iterator;
import com.reportgear.core.data.SalaryHelper;
import com.reportgear.core.data.model.SalaryDataObject;
import com.reportgear.report.context.ReportContext;
import com.reportgear.report.model.ReportModel;
im... |
/**
* ReportGear(2011)
*/
package com.reportgear.report.model.calculator;
import java.util.Iterator;
import com.reportgear.report.model.ReportModel;
import com.reportgear.report.model.cell.Cell;
import com.reportgear.report.model.cell.value.CrossDocDataObject;
import com.reportgear.report.model.cell.value... |
/**
* ReportGear(2011)
*/
package com.reportgear.report.model.calculator;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.reportgear.report.model.ReportModel;
/**
* 报表模型计算器接口
*
* @version 1.0 2011-4-10
* @author <a herf="lexloo@gmail.com">lexloo</a>
* @since ReportGear 1.0
... |
/**
* ReportGear(2011)
*/
package com.reportgear.report.model.calculator;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import com.reportgear.report.model.ReportModel;
import com.reportgear.report.model.auxil... |
/**
* ReportGear(2011)
*/
package com.reportgear.report.model.calculator;
/**
* 抽象模型计算类
*
* @version 1.0 2011-4-10
* @author <a herf="lexloo@gmail.com">lexloo</a>
* @since ReportGear 1.0
*/
public abstract class AbstractCalculator implements Calculator {
}
|
/**
* ReportGear(2011)
*/
package com.reportgear.report.model.calculator;
import com.reportgear.report.model.ReportModel;
/**
* 计算辅助 类
*
* @version 1.0 2011-4-19
* @author <a herf="lexloo@gmail.com">lexloo</a>
* @since Report 1.0
*/
public class CalculatorHelper {
/**
* 计算薪酬报表
*
* @... |
/**
* ReportGear(2011)
*/
package com.reportgear.report.model.calculator;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Iterator;
import java.util.List;
import com.reportgear.core.data.SalaryHelper;
import com.reportgear.core.data.model.SalaryDat... |
/**
* ReportGear(2011)
*/
package com.reportgear.report.model.calculator;
import java.util.Iterator;
import com.reportgear.report.model.ReportModel;
import com.reportgear.report.model.cell.Cell;
import com.reportgear.report.model.cell.value.CrossDocDataObject;
/**
*
* 交叉档案数据分组计算
*
* @version 1... |
/**
* ReportGear(2011)
*/
package com.reportgear.report.model.calculator;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Set;
import com.reportgear.report.model.ReportModel;
import com.reportgear.report.model.cell.Cell;
import com.reportgear.report.model.cell.value.CrossDetailDataO... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.