code
stringlengths
3
1.18M
language
stringclasses
1 value
package com.jboa.model; import java.math.BigDecimal; import java.util.HashSet; import java.util.Set; /** * Department entity. @author MyEclipse Persistence Tools */ public class Department implements java.io.Serializable { // Fields private BigDecimal id; private String managerSn; private String name; priva...
Java
package com.jboa.model; import java.math.BigDecimal; import java.util.HashSet; import java.util.Set; /** * Employee entity. @author MyEclipse Persistence Tools */ public class Employee implements java.io.Serializable { // Fields private String sn; private Department department; private BigDecimal positionId;...
Java
package com.jboa.model; /** * RoleFunction entity. @author MyEclipse Persistence Tools */ public class RoleFunction implements java.io.Serializable { // Fields private Integer id; private Role role; private Function function; // Constructors /** default constructor */ public RoleFunction() { } /** ful...
Java
package com.jboa.model; /** * UserRole entity. @author MyEclipse Persistence Tools */ public class UserRole implements java.io.Serializable { // Fields private Integer id; private Role role; private Employee employee; // Constructors /** default constructor */ public UserRole() { } /** full constructo...
Java
package com.jboa.model; import java.util.HashSet; import java.util.Set; /** * Role entity. @author MyEclipse Persistence Tools */ public class Role implements java.io.Serializable { // Fields private Integer id; private String rolename; private Set userRoles = new HashSet(0); private Set roleFunctions = new...
Java
package com.jboa.model; import java.util.HashSet; import java.util.Set; /** * Module entity. @author MyEclipse Persistence Tools */ public class Module implements java.io.Serializable { // Fields private Integer id; private String modulename; private Byte sort; private Set functions = new HashSet(0); // C...
Java
package com.jboa.model; import java.math.BigDecimal; /** * Position entity. @author MyEclipse Persistence Tools */ public class Position implements java.io.Serializable { // Fields private BigDecimal id; private String nameCn; private String nameEn; // Constructors /** default constructor */ public Posi...
Java
package com.jboa.model; import java.math.BigDecimal; import java.util.Date; /** * Account entity. @author MyEclipse Persistence Tools */ public class Account implements java.io.Serializable { // Fields private BigDecimal id; private String usrId; private String accType; private BigDecimal accMoney; private...
Java
package com.jboa.model; import java.util.Date; /** * Email entity. @author MyEclipse Persistence Tools */ public class Email implements java.io.Serializable { // Fields private Integer id; private String usernameFrom; private String usernameTo; private String title; private String content; private Date cr...
Java
package com.jboa.model; import java.math.BigDecimal; /** * Dictionary entity. @author MyEclipse Persistence Tools */ public class Dictionary implements java.io.Serializable { // Fields private BigDecimal id; private String type; private String item; private String value; // Constructors /** default cons...
Java
package com.jboa.model; import java.math.BigDecimal; /** * ClaimVoucherDetail entity. @author MyEclipse Persistence Tools */ public class ClaimVoucherDetail implements java.io.Serializable { // Fields private BigDecimal id; private ClaimVoucher claimVoucher; private String item; private BigDecimal account; ...
Java
package com.jboa.model; import java.math.BigDecimal; import java.util.Date; /** * CheckResult entity. @author MyEclipse Persistence Tools */ public class CheckResult implements java.io.Serializable { // Fields private BigDecimal id; private String sheetType; private BigDecimal sheetId; private Date checkTim...
Java
package com.jboa.model; import java.math.BigDecimal; import java.util.Date; import java.util.HashSet; import java.util.Set; /** * ClaimVoucher entity. @author MyEclipse Persistence Tools */ public class ClaimVoucher implements java.io.Serializable { // Fields private BigDecimal id; private Employee employeeBy...
Java
package com.jboa.service.impl; import java.util.ArrayList; import java.util.List; import com.jboa.dao.FunctionDao; import com.jboa.dao.ModuleDao; import com.jboa.dao.RoleFunctionDao; import com.jboa.model.Function; import com.jboa.model.Module; import com.jboa.model.RoleFunction; import com.jboa.service.Mo...
Java
package com.jboa.service.impl; import java.util.List; import com.jboa.dao.FunctionDao; import com.jboa.dao.RoleDao; import com.jboa.dao.RoleFunctionDao; import com.jboa.dao.UserRoleDao; import com.jboa.model.Function; import com.jboa.model.Role; import com.jboa.model.RoleFunction; import com.jboa.service.R...
Java
package com.jboa.service.impl; import java.util.List; import com.jboa.dao.FunctionDao; import com.jboa.dao.ModuleDao; import com.jboa.model.Function; import com.jboa.model.Module; import com.jboa.service.FunctionService; public class FunctionServiceImpl implements FunctionService { private Function...
Java
package com.jboa.service.impl; import java.util.List; import com.jboa.dao.EmployeeDao; import com.jboa.dao.RoleDao; import com.jboa.dao.UserRoleDao; import com.jboa.model.Employee; import com.jboa.model.Role; import com.jboa.model.UserRole; import com.jboa.service.EmployeeBiz; public class Employee...
Java
package com.jboa.service; import java.util.List; import com.jboa.model.Email; public interface EmailBiz { List<Email> acceptEmail(String username); List<Email> sendedEmail(String username); List<Email> deletedEmail(String username); void addEmail(Email email); void deleteById(int eid); ...
Java
package com.jboa.service; import java.util.List; import com.jboa.model.Function; import com.jboa.model.Module; public interface FunctionService { // 新增功能 public void newFunction(Function f, Integer mid); // 浏览可执行功能 public List<Function> findFunction(List<Integer> rid, Module m); // 删除功能 ...
Java
package com.jboa.service; import java.util.List; import com.jboa.model.Employee; public interface EmployeeBiz { public Employee login(String sn, String password); public Employee login(Employee employee); public List<Employee> findUsers(String username); // 用户注册判断用户名 public String regist(Empl...
Java
package com.jboa.service; import java.util.List; import com.jboa.model.Function; import com.jboa.model.Role; public interface RoleService { // 浏览全部角色 public List<Role> operateRole(); // 新增角色 public void newRole(Role r); // 查看当前用户所属角色 public List<Integer> hadRole(Role r); // 单查角色 publ...
Java
package com.jboa.service; import java.util.List; import com.jboa.model.Module; public interface ModuleService { // 浏览可进入模块 public List<Module> findModule(List<Integer> rid); // 新增模块 public void newModule(Module m); // 单查模块 public Module findSingleModule(Integer id); // 修改模块 pub...
Java
package com.jboa.util; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRequest; ...
Java
package com.jboa.dao; import java.util.List; import com.jboa.model.Function; import com.jboa.model.Module; import com.jboa.model.Role; import com.jboa.model.RoleFunction; public interface RoleFunctionDao { // 新增数据 public void save(RoleFunction entity); // 删除数据 public void delete(RoleFunction e...
Java
package com.jboa.dao.impl; import java.util.List; import org.springframework.orm.hibernate3.support.HibernateDaoSupport; import com.jboa.dao.UserRoleDao; import com.jboa.model.UserRole; public class UserRoleDaoImpl extends HibernateDaoSupport implements UserRoleDao { public void delete(UserRole entit...
Java
package com.jboa.dao.impl; import java.util.List; import org.springframework.orm.hibernate3.support.HibernateDaoSupport; import com.jboa.dao.ModuleDao; import com.jboa.model.Module; public class ModuleDaoImpl extends HibernateDaoSupport implements ModuleDao{ public void delete(Module entity) { ...
Java
package com.jboa.dao.impl; import java.util.List; import org.springframework.orm.hibernate3.support.HibernateDaoSupport; import com.jboa.dao.RoleFunctionDao; import com.jboa.model.Function; import com.jboa.model.Module; import com.jboa.model.Role; import com.jboa.model.RoleFunction; public class Rol...
Java
package com.jboa.dao; import java.util.List; import com.jboa.model.Function; public interface FunctionDao { // 新增数据 public void save(Function entity); // 删除数据 public void delete(Function entity); // 修改数据 public Function update(Function entity); // 通过id查询数据 public Function fin...
Java
package com.jboa.dao; import java.util.List; import com.jboa.model.Module; public interface ModuleDao { // 新增数据 public void save(Module entity); // 删除数据 public void delete(Module entity); // 修改数据 public void update(Module entity); // 通过id查询数据 public Module findById(Integer id); ...
Java
package com.jboa.dao; import java.util.List; import com.jboa.model.Employee; public interface EmployeeDao { public Employee findBySn(String sn); public List getEmployee(Employee employee); public List<Employee> getEmployeeByHql(String hql, Object[] values); // 新增数据 public void save(Employee...
Java
package com.jboa.dao; import java.util.List; import com.jboa.model.Email; public interface EmailDao { public List<Email> findAll(String username); public void delete(int id); public Email get(int id); public void save(Email email); public List<Email> findByCondition(String hql, Object...
Java
package com.jboa.dao; import java.util.List; import com.jboa.model.UserRole; public interface UserRoleDao { // 新增数据 public void save(UserRole entity); // 删除数据 public void delete(UserRole entity); // 通过表中一个字段进行查询 public List<UserRole> findByProperty(String propertyName, Object value); ...
Java
package com.jboa.dao; import java.util.List; import com.jboa.model.Role; public interface RoleDao { // 新增数据 public void save(Role entity); // 删除数据 public void delete(Role entity); // 修改数据 public void update(Role entity); // 通过id查询数据 public Role findById(Integer id); // 查询所有数据 ...
Java
package com.jboa.action; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpSession; import org.apache.struts2.ServletActionContext; import com.jboa.model.Function; import com.jboa.model.Role; import com.jboa.service.RoleService; import com.opensymphony.xwork2.Action; impo...
Java
package com.jboa.action; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.UnsupportedEncodingException; import java.util.Date; import...
Java
package com.jboa.action; import java.util.List; import javax.servlet.http.HttpSession; import org.apache.struts2.ServletActionContext; import com.jboa.model.Function; import com.jboa.model.Module; import com.jboa.service.FunctionService; import com.opensymphony.xwork2.Action; import com.opensymphony.xwo...
Java
package com.jboa.action; import java.util.ArrayList; import java.util.List; import java.util.Map; import javax.servlet.http.HttpSession; import org.apache.struts2.ServletActionContext; import com.jboa.model.Employee; import com.jboa.model.Role; import com.jboa.service.EmployeeBiz; import com.jboa.servi...
Java
package com.jboa.action; import java.util.HashSet; import java.util.List; import java.util.Set; import javax.servlet.http.HttpSession; import org.apache.struts2.ServletActionContext; import com.jboa.model.Module; import com.jboa.service.ModuleService; import com.opensymphony.xwork2.Action; import com.o...
Java
/* * Copyright (C) 2010 The Android Open Source Project * * 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 applicab...
Java
/* * Copyright (C) 2010 The Android Open Source Project * * 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 applicab...
Java
/* * Copyright (C) 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 ...
Java
/* * Copyright (C) 2010 The Android Open Source Project * * 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 applicab...
Java
/* * Copyright (C) 2010 The Android Open Source Project * * 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 applicab...
Java
package org.pocketworkstation.pckeyboard; import android.content.Context; import android.preference.EditTextPreference; import android.util.AttributeSet; public class AutoSummaryEditTextPreference extends EditTextPreference { public AutoSummaryEditTextPreference(Context context) { super(context); } ...
Java
package org.pocketworkstation.pckeyboard; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; import android.view.inputmethod.InputMethodManager; public class NotificationReceiver extends BroadcastReceiver { static final String TAG = "PCKe...
Java
/* * Copyright (C) 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 ...
Java
/** * */ package org.pocketworkstation.pckeyboard; import android.content.Context; import android.preference.ListPreference; import android.util.AttributeSet; import android.util.Log; public class AutoSummaryListPreference extends ListPreference { private static final String TAG = "HK/AutoSummaryListPreference"...
Java
/* * Copyright (C) 2008-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 agree...
Java
/* * Copyright (C) 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 ...
Java
/* * Copyright (C) 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 ...
Java
/* * Copyright (C) 2008 The Android Open Source Project * * 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 appli...
Java
/* * Copyright (C) 2011 Darren Salt * * Licensed under the Apache License, Version 2.0 (the "Licence"); you may * not use this file except in compliance with the Licence. You may obtain * a copy of the Licence at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
Java
/* * Copyright (C) 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 ...
Java
package org.pocketworkstation.pckeyboard; import java.util.regex.Matcher; import java.util.regex.Pattern; import android.content.Context; import android.content.res.TypedArray; import android.util.AttributeSet; /** * Variant of SeekBarPreference that stores values as string preferences. * * This is for compatibi...
Java
/* * Copyright (C) 2008 The Android Open Source Project * * 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 appli...
Java
/* * Copyright (C) 2008 The Android Open Source Project * * 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 appli...
Java
/* * Copyright (C) 2008 The Android Open Source Project * * 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 applicab...
Java
/* * Copyright (C) 2011 The Android Open Source Project * * 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 applicab...
Java
/* * Copyright (C) 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 ...
Java
/* * Copyright (C) 2010 The Android Open Source Project * * 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 app...
Java
package org.pocketworkstation.pckeyboard; import android.content.Context; import android.content.res.TypedArray; import android.preference.DialogPreference; import android.util.AttributeSet; import android.view.View; import android.widget.SeekBar; import android.widget.TextView; /** * SeekBarPreference provides a di...
Java
/* * Copyright (C) 2010 The Android Open Source Project * * 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 app...
Java
/* * Copyright (C) 2010 The Android Open Source Project * * 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 app...
Java
/* * Copyright (C) 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 ...
Java
/* * Copyright (C) 2008 The Android Open Source Project * * 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 applicab...
Java
/* * Copyright (C) 2008 The Android Open Source Project * * 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 applicab...
Java
/* * Copyright (C) 2011 Darren Salt * * Licensed under the Apache License, Version 2.0 (the "Licence"); you may * not use this file except in compliance with the Licence. You may obtain * a copy of the Licence at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
Java
/* * Copyright (C) 2011 Darren Salt * * Licensed under the Apache License, Version 2.0 (the "Licence"); you may * not use this file except in compliance with the Licence. You may obtain * a copy of the Licence at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
Java
package org.pocketworkstation.pckeyboard; import java.util.HashMap; import java.util.Locale; import java.util.Map; import android.content.SharedPreferences; import android.content.res.Resources; import android.util.Log; /** * Global current settings for the keyboard. * * <p> * Yes, globals are evil. But the per...
Java
/* * Copyright (C) 2010 The Android Open Source Project * * 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 app...
Java
/* * Copyright (C) 2008 The Android Open Source Project * * 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 appli...
Java
/* * Copyright (C) 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 ...
Java
/* * Copyright (C) 2008 The Android Open Source Project * * 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 applicab...
Java
/* * Copyright (C) 2009 The Android Open Source Project * * 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 app...
Java
/* * Copyright (C) 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 ...
Java
/* * Copyright (C) 2008 The Android Open Source Project * * 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 applicab...
Java
/* * Copyright (C) 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 ...
Java
/* * Copyright (C) 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 ...
Java
/* * Copyright (C) 2008 The Android Open Source Project * * 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 appli...
Java
package org.pocketworkstation.pckeyboard; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.xmlpull.v1.XmlPullParserException; import android.content.BroadcastReceiver; import android.content.Context; ...
Java
/* * Copyright (C) 2009 The Android Open Source Project * * 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 app...
Java
/* * Copyright (C) 2008 The Android Open Source Project * * 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 applicab...
Java
/* * Copyright (C) 2008-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 ag...
Java
/* * Copyright (C) 2008 The Android Open Source Project * * 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 appli...
Java
/* * Copyright (C) 2008 The Android Open Source Project * * 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 applicab...
Java
/* * Copyright (C) 2010 The Android Open Source Project * * 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 applicab...
Java
/* * Copyright (C) 2008 The Android Open Source Project * * 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 app...
Java
/* * Copyright (C) 2008 The Android Open Source Project * * 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 appli...
Java
/* * Copyright (C) 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 ...
Java
/* * Copyright (C) 2008 The Android Open Source Project * * 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 applicab...
Java
/* * Copyright (C) 2008 The Android Open Source Project * * 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 applicab...
Java
/* * Copyright (C) 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 ...
Java
/* * Copyright (C) 2008-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 ag...
Java
/* * Copyright (C) 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 ...
Java
/* * Copyright (C) 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 ...
Java
/* * Copyright (C) 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 ...
Java
/* * Copyright (C) 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 ...
Java
/* * Copyright (C) 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 ...
Java
package Utilidades; public class ObjetoCombo { private String codigo; private String nombre; public ObjetoCombo(String codigo, String nombre) { this.codigo = codigo; this.nombre = nombre; } public String toString() { return this.nombre; } public String getCodigo() { return codigo; } ...
Java
package Utilidades; //import javax.swing.*; import javax.swing.text.*; import java.awt.*; public class Limitador extends DefaultStyledDocument { int caracteres; public Limitador(int caracteres){ this.caracteres = caracteres; } public void insertString(int offs, String str, AttributeSet a) th...
Java