text stringlengths 3 1.18M |
|---|
package org.csiro.parser.collada;
import java.util.List;
import javax.xml.stream.events.XMLEvent;
import gov.nasa.worldwind.geom.Position;
import gov.nasa.worldwind.util.xml.AbstractXMLEventParser;
import gov.nasa.worldwind.util.xml.XMLEventParserContext;
public class ColladaFloatArrayParser extends Abstr... |
package org.csiro.parser.collada;
import gov.nasa.worldwind.util.xml.AbstractXMLEventParser;
import gov.nasa.worldwind.util.xml.XMLEventParser;
public abstract class ColladaAbstractObject extends AbstractXMLEventParser{
/**
* Construct an instance.
*
* @param namespaceURI the qualifying names... |
package org.csiro.parser.collada;
import gov.nasa.worldwind.ogc.kml.KMLCoordinatesParser;
import gov.nasa.worldwind.util.xml.BasicXMLEventParserContext;
public class ColladaParserContext extends BasicXMLEventParserContext {
/** Names of fields with float array */
protected ColladaFloatArrayParser floatArr... |
package gov.nasa.worldwind.custom.render;
import gov.nasa.worldwind.Movable;
import gov.nasa.worldwind.formats.models.ModelFactory;
import gov.nasa.worldwind.formats.models.geometry.Model;
import gov.nasa.worldwind.geom.Angle;
import gov.nasa.worldwind.geom.LatLon;
import gov.nasa.worldwind.geom.Position;
import gov.n... |
/*
* DisplayListModel3D.java
*
* Created on February 27, 2008, 11:05 PM
*
* R. Wathelet added line 123
* gl.glDisable(GL.GL_TEXTURE_2D);
*/
package gov.nasa.worldwind.custom.render;
import gov.nasa.worldwind.formats.models.ResourceRetriever;
import gov.nasa.worldwind.formats.models.iModel3DR... |
package gov.nasa.worldwind.custom.render;
import gov.nasa.worldwind.WorldWind;
import gov.nasa.worldwind.formats.models.ModelFactory;
import gov.nasa.worldwind.formats.models.geometry.Model;
import gov.nasa.worldwind.formats.models.loader.ArdorColladaLoader;
import gov.nasa.worldwind.formats.models.loader.Simple... |
package gov.nasa.worldwind.custom.render;
import gov.nasa.worldwind.formats.models.iModel3DRenderer;
import gov.nasa.worldwind.formats.models.geometry.Model;
import gov.nasa.worldwind.formats.models.loader.ArdorColladaLoader;
import gov.nasa.worldwind.render.DrawContext;
import gov.nasa.worldwind.util.Logging;
... |
package gov.nasa.worldwind.ogc.custom.kml.impl;
import gov.nasa.worldwind.ogc.kml.KMLRoot;
import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import com.ardor3d.extension.model.collada.jdom.ColladaImporter;
import com.ardor3d.extension.model.collada.jdom.data.ColladaStorage;
i... |
package gov.nasa.worldwind.ogc.custom.kml.impl;
import gov.nasa.worldwind.custom.render.Ardor3DModel;
import gov.nasa.worldwind.formats.models.loader.ArdorColladaLoader;
import gov.nasa.worldwind.geom.Angle;
import gov.nasa.worldwind.geom.Position;
import gov.nasa.worldwind.ogc.kml.KMLModel;
import gov.nasa.wor... |
package gov.nasa.worldwind.ogc.custom.kml.model;
import gov.nasa.worldwind.ogc.kml.KMLParserContext;
import javax.xml.namespace.QName;
import javax.xml.stream.XMLEventReader;
public class CustomKMLParserContext extends KMLParserContext {
public CustomKMLParserContext(XMLEventReader eventReader,
String... |
package gov.nasa.worldwind.ogc.custom.kml.model;
import gov.nasa.worldwind.ogc.custom.kml.impl.KMLModelImpl;
import gov.nasa.worldwind.ogc.kml.KMLModel;
import gov.nasa.worldwind.ogc.kml.KMLPlacemark;
import gov.nasa.worldwind.ogc.kml.impl.KMLRenderable;
import gov.nasa.worldwind.ogc.kml.impl.KMLTraversalContext... |
package gov.nasa.worldwind.ogc.custom.kml.model;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import javax.xml.stream.XMLEventReader;
import gov.nasa.worldwind.ogc.kml.KMLParserContext;
import gov.nasa.worldwind.ogc.kml.KMLRoot;
import gov.nasa.worldwin... |
/*
* Model3DFactory.java
*
* Created on February 27, 2008, 10:00 PM
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package gov.nasa.worldwind.formats.models;
import gov.nasa.worldwind.formats.models.geometry.Model;
import gov.nasa.worldwind.... |
/*
* Copyright (c) 2006 Greg Rodgers All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* - Redistribution of source code must retain the above copyright
* notice, this list of co... |
/*
* Copyright (c) 2006 Greg Rodgers All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* - Redistribution of source code must retain the above copyright
* notice, this list of co... |
/*
* Copyright (c) 2006 Greg Rodgers All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* - Redistribution of source code must retain the above copyright
* notice, this list of co... |
/*
* Copyright (c) 2006 Greg Rodgers All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* - Redistribution of source code must retain the above copyright
* notice, this list of co... |
package gov.nasa.worldwind.formats.models.geometry;
import gov.nasa.worldwind.formats.models.geometry.Vec4;
/**
* Provides a instance of a boundary object that stores the maximum and
* minimum extents of a bounding box in 3D space.
* <p>
*
* @version $Id$
*/
public class Bounds {
/** A static represe... |
/*
* TexCoords.java
*
* Created on February 28, 2008, 10:29 PM
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package gov.nasa.worldwind.formats.models.geometry;
/**
*
* @author RodgersGB
*/
public class TexCoord {
public float u,v;... |
/*
* Copyright (c) 2006 Greg Rodgers All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* - Redistribution of source code must retain the above copyright
* notice, this list of co... |
/*
* Copyright (c) 2006 Greg Rodgers All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* - Redistribution of source code must retain the above copyright
* notice, this list of co... |
/*
* MaxConstants.java
*
* Created on February 12, 2008, 10:20 PM
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package gov.nasa.worldwind.formats.models.loader;
/**
* Constants representing block types in the 3DS file. This is not a comple... |
package gov.nasa.worldwind.formats.models.loader;
import javax.xml.XMLConstants;
import javax.xml.namespace.NamespaceContext;
import java.util.*;
/**
* @author Java & XML 3e
* @version $Id: SimpleNamespaceContext.java,v 1.1.2.1 2009-03-20 15:40:25 glabuser Exp $
*/
public class SimpleNamespaceContext imp... |
/**
* Copyright (c) 2008-2010 Ardor Labs, Inc.
*
* This file is part of Ardor3D.
*
* Ardor3D is free software: you can redistribute it and/or modify it
* under the terms of its license which may be found in the accompanying
* LICENSE file or at <http://www.ardor3d.com/LICENSE>.
*/
package gov.nasa.worldwind.f... |
/*
* LoaderFactory.java
*
* Created on February 27, 2008, 10:35 PM
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package gov.nasa.worldwind.formats.models.loader;
import gov.nasa.worldwind.formats.models.ModelLoadException;
import gov.nasa.wo... |
/*
* myWaveFrontLoader.java
*
* Created on March 16, 2008, 8:57 PM
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package gov.nasa.worldwind.formats.models.loader;
import gov.nasa.worldwind.formats.models.*;
import gov.nasa.worldwind.formats.m... |
/*
* iLoader.java
*
* Created on February 27, 2008, 10:36 PM
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package gov.nasa.worldwind.formats.models.loader;
import gov.nasa.worldwind.formats.models.ModelLoadException;
import gov.nasa.worldwin... |
/*
* iModel.java
*
* Created on February 27, 2008, 9:55 PM
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package gov.nasa.worldwind.formats.models;
import gov.nasa.worldwind.formats.models.geometry.Model;
/**
*
* @author RodgersGB
*/
... |
/*
* ModelLoadException.java
*
* Created on March 13, 2008, 9:48 PM
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package gov.nasa.worldwind.formats.models;
/**
*
* @author RodgersGB
*/
public class ModelLoadException extends Exception ... |
package gov.nasa.worldwind.formats.models;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
/**
* Utility class that allows transparent reading of files from the current
* working directory or from the classpath.
* ... |
/*
Copyright (C) 2001, 2010 United States Government
as represented by the Administrator of the
National Aeronautics and Space Administration.
All Rights Reserved.
*/
package org.csiro.examples.kml;
import gov.nasa.worldwind.avlist.AVKey;
import gov.nasa.worldwind.examples.ApplicationTemplate;
import gov.nasa.worldwi... |
package org.csiro.examples.model;
import gov.nasa.worldwind.custom.render.Ardor3DModel;
import gov.nasa.worldwind.custom.render.Movable3DModel;
import gov.nasa.worldwind.examples.ApplicationTemplate;
import gov.nasa.worldwind.geom.Angle;
import gov.nasa.worldwind.geom.Position;
import gov.nasa.worldwind.layers.... |
/*
* Copyright (c) 2006 Greg Rodgers All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* - Redistribution of source code must retain the above copyright
* notice, this list of co... |
package org.csiro.examples.model;
import gov.nasa.worldwind.geom.Position;
/**
* @author ringo-wathelet 2008-06-11
*/
public interface Adjustable {
void setYaw(double val);
double getYaw();
void setRoll(double val);
double getRoll();
void setPitch(double val);
double getPitch();
void set... |
package org.csiro.examples.model;
import gov.nasa.worldwind.Movable;
import gov.nasa.worldwind.View;
import gov.nasa.worldwind.awt.WorldWindowGLCanvas;
import gov.nasa.worldwind.event.DragSelectEvent;
import gov.nasa.worldwind.event.SelectEvent;
import gov.nasa.worldwind.event.SelectListener;
import gov.nasa.worldwind... |
import javax.swing.*;
public class UserInput {
public static void main(String[] args){
String num = "";
num = JOptionPane.showInputDialog(null, "Please enter your name: ");
JOptionPane.showMessageDialog(null,"Hi "+num);
}
}
|
import javax.swing.*;
public class HelloWorld{
public static void main(String[] args){
String num = "";
num = JOptionPane.showInputDialog(null, "Please enter your name: ");
JOptionPane.showMessageDialog(null,"Hi "+num);
}
}
|
import javax.swing.*;
public class OddandEven
{
public static void main(String[] args)
{
int number;
number = Integer.parseInt(JOptionPane.showInputDialog( null, "Please Enter a number: " ));
if ( number % 2 == 1 )
{
JOpt... |
package hcom.model.etcInfo.bean;
public class EtcInfoBean {
// login log
private int login_seq;
private String write_time;
private String ip_address;
private String mem_no;
private String mem_dept;
private String mem_position;
private String mem_name;
private String year;
// 접근통제 IP
private ... |
package hcom.model.etcInfo.dao;
import hcom.model.etcInfo.bean.EtcInfoBean;
import java.util.List;
public interface IEtcInfo {
/**
* 접근통제 아이피 조회
* @return
* @throws Exception
*/
public List<EtcInfoBean> getAclList() throws Exception;
/**
* 접근통제 아이피 갯수
* @return
* @throws Exception... |
package hcom.model.etcInfo.dao;
import hcom.model.etcInfo.bean.EtcInfoBean;
import java.util.List;
import com.ibatis.dao.client.DaoManager;
import ecg.dao.DaoService;
public class EtcInfoDao {
private static EtcInfoDao singleton;
protected EtcInfoDao() {}
public static EtcInfoDao getInstance(... |
package hcom.model.etcInfo.action;
import java.util.List;
import hcom.model.etcInfo.bean.EtcInfoBean;
import hcom.model.etcInfo.dao.EtcInfoDao;
import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ModelDriven;
import com.opensymphony.xwork2.Preparable;
public class EtcInfoAction e... |
package hcom.model.member.bean;
public class MemberBean {
// admin
private int mem_seq;
private String mem_email;
private String mem_dept;
private String mem_position;
private String write_time;
private String modify_time;
private String mem_no;
private String mem_name;
// leader
private int... |
package hcom.model.member.dao;
import hcom.model.member.bean.MemberBean;
import java.util.List;
import com.ibatis.dao.client.DaoManager;
import ecg.dao.DaoService;
public class MemberDao {
private static MemberDao singleton;
protected MemberDao() {}
public static MemberDao getInstance() {
... |
package hcom.model.member.dao;
import hcom.model.member.bean.MemberBean;
import java.util.List;
public interface IMember {
/**
* 관리자 회원 목록
* @param memberBean
* @return
* @throws Exception
*/
public List<MemberBean> getAdminList() throws Exception;
/**
* 관리자 회원 목록 갯수
* @param memb... |
package hcom.model.member.action;
import java.util.List;
import hcom.model.member.bean.MemberBean;
import hcom.model.member.dao.MemberDao;
import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ModelDriven;
import com.opensymphony.xwork2.Preparable;
public class MemberAction extends... |
package hcom.model.main.bean;
public class MainBean {
// IPCheck
private String ip_address;
// admin / leader
private int mem_seq;
private String mem_email;
private String mem_dept;
private String mem_position;
private String mem_no;
private String mem_name;
private int leader_seq;
// 넘어오... |
package hcom.model.main.dao;
import hcom.model.main.bean.MainBean;
import java.util.List;
import com.ibatis.dao.client.DaoManager;
import ecg.dao.DaoService;
public class MainDao {
private static MainDao singleton;
protected MainDao() {}
public static MainDao getInstance() {
if(singleton =... |
package hcom.model.main.dao;
import hcom.model.main.bean.MainBean;
import java.util.List;
public interface IMain {
/**
* 아이피 체크
* @param mainBean
* @return
* @throws Exception
*/
public List<MainBean> checkIP(MainBean mainBean) throws Exception;
/**
* 관리자 체크
* @param mainBean
*... |
package hcom.model.main.action;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts2.ServletActionContext;
import hcom.model.board.bean.BoardBean;
import hcom.model.board.dao.BoardDao;
import hcom.model.main.bean.MainBean;
import hcom.model... |
package hcom.model.board.bean;
import java.util.List;
public class BoardBean {
private int board_seq;
private String board_code;
private int user_seq;
private String title;
private String content;
private int read_count;
private String write_time;
private String modify_time;
private String answe... |
package hcom.model.board.dao;
import hcom.model.board.bean.BoardBean;
import java.util.List;
import com.ibatis.dao.client.DaoManager;
import ecg.dao.DaoService;
public class BoardDao {
public static BoardDao instance;
private DaoManager manager = DaoService.getInstance();
private IBoard board = (IB... |
package hcom.model.board.dao;
import hcom.model.board.bean.BoardBean;
import java.util.List;
public interface IBoard {
/**
* 게시판 목록 조회
* @param boardBean
* @return
*/
public List<BoardBean> getBoardList(BoardBean boardBean);
public List<BoardBean> getnewBoardList(BoardBean boardBean);
... |
package hcom.model.board.action;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
im... |
package ecg.util;
import java.util.Map;
import org.apache.log4j.Logger;
import com.opensymphony.xwork2.ActionContext;
public class SessionUtils {
static Logger log = Logger.getLogger(SessionUtils.class);
public static Map<String, String> getLoginSession() throws Exception {
Map<String, String> ses... |
package ecg.util;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.InternetAddress... |
package ecg.util;
public class PaggingMakerUtil {
/**
* 입력 받은 값으로 연산 후 페이징 문자열을 리턴한다.
*
* @param imgs [String Array] : 이미지 배열 5개 [처음 이미지, ...... , 마지막 이미지]
* @param currentPage [String] : 현재 페이지
* @param countPerPage [String]: 페이지당 보여줄 목록 수
* @param max [int] : 최대값 (전체페이지 산출에 이용)
* ... |
package ecg.dao;
import java.io.IOException;
import java.io.Reader;
import com.ibatis.common.resources.Resources;
import com.ibatis.dao.client.DaoManager;
import com.ibatis.dao.client.DaoManagerBuilder;
public class DaoService {
private static DaoManager daoManager;
public static synchronized DaoMana... |
/*
* Razvan's public code. Copyright 2008 based on Apache license (share alike) see LICENSE.txt for
* details.
*/
package com.razie.pub.resources;
/**
* a collection of icons standardized by these codes
*
* if you want to use this, have an icons.properties at the root in the classpath, mapping these
... |
package com.razie.pub.resources;
import java.io.IOException;
import java.net.URL;
import java.util.Properties;
import com.razie.pub.base.log.Log;
/**
* just to proxy/wrap icons functionality, in case i introduce "themes" later - a theme would be a different
* icons.properties file for now
*
* if you... |
/**
* Razvan's public code.
* Copyright 2008 based on Apache license (share alike) see LICENSE.txt for details.
*/
package com.razie.pub.comms;
import java.io.IOException;
import java.io.ObjectOutputStream;
import java.io.PrintStream;
import java.net.Socket;
import razie.base.AttrAccess;
import razie.... |
/**
* Razvan's public code. Copyright 2008 based on Apache license (share alike) see LICENSE.txt for
* details.
*/
package com.razie.pub.base.data;
import com.razie.pub.base.NoStatic;
import com.razie.pub.base.NoStaticSafe;
/**
* a bunch of utilities related to rendering html content, including minimal ... |
/**
* Razvan's public code. Copyright 2008 based on Apache license (share alike) see LICENSE.txt for
* details.
*/
package com.razie.pub.base.data;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.net.URLEncoder;
/**
* a bunch of http utils ?
*
* @deprecate ju... |
/**
* Razvan's public code. Copyright 2008 based on Apache license (share alike) see LICENSE.txt for
* details.
*/
package com.razie.pub.base.data;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
/**
* simple in-memory database: each K has a list of V
*
* @author razv... |
/**
* Razvan's public code.
* Copyright 2008 based on Apache license (share alike) see LICENSE.txt for details.
*/
package razie.draw;
/**
* this is for decoupling of code - not everyone needs to be a drawable...
*
* @author razvanc99
* @stereotype factory
* @version $Id$
*/
public interface ... |
/**
* Razvan's public code.
* Copyright 2008 based on Apache license (share alike) see LICENSE.txt for details.
*/
package razie.draw;
import java.io.IOException;
import java.io.OutputStream;
import com.razie.pub.comms.*;
/**
* a drawing stream that is plain text, but you can specify the mime type s... |
package razie.draw;
/**
* about technologies...you see a pile of unrelated stuff...
*
* <p>
* TEXT - simple toString, whatever that does...maybe just a toString. Interactive via telnet
*
* <p>
* HTML - format the objects for writing to html. All objects MUST implement this one. Free use of JS
*
* ... |
/**
* Razvan's public code.
* Copyright 2008 based on Apache license (share alike) see LICENSE.txt for details.
*/
package razie.draw;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import razie.draw.Renderer.ContainerRenderer;
import razie.draw.Renderer.... |
package razie.draw;
/**
* detail levels are:
*
* <ul>
* <li>BRIEFLIST -
* <li>LIST -
* <li>LARGE -
* <li>FULL -
*</ul>
*
* @author razvanc
*
*/
public enum DetailLevel {
BRIEFLIST, LIST, LARGE, FULL
}
|
/**
* Razvan's public code. Copyright 2008 based on Apache license (share alike) see LICENSE.txt for
* details.
*/
package razie.draw;
import razie.draw.Renderer.Helper;
/**
* basic drawable objects, which are rendered by Renderers for different technologies
*
* Convention: each drawable MUST supp... |
/**
* Basic Drawables and streamables
*
* <p>
* This package has two main ideas: technology-independent rendering and streaming of objects.
*
* <h1>Drawables and rendering</h1>
*
* <p>
* The idea is that all objects are Drawables and as such, can be rendered onto some technology. The
* rendering ... |
/**
* Razvan's public code. Copyright 2008 based on Apache license (share alike) see LICENSE.txt for
* details.
*/
package razie.draw;
import java.io.IOException;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.List;
import razie.comms.CommsEndPoint;
import com.razie.pub.bas... |
/**
* Razvan's public code. Copyright 2008 based on Apache license (share alike) see LICENSE.txt for
* details.
*/
package razie.draw;
import razie.draw.Renderer.ContainerRenderer;
/**
* a drawable sequence of objects. Objects must implement Drawable3 or else we'll use toString()
*
* this is diffe... |
/**
* Razvan's public code.
* Copyright 2008 based on Apache license (share alike) see LICENSE.txt for details.
*/
package razie.draw;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import org.json.JSONObject;
import razie.draw.StreamableContainer.Impl;
import ra... |
/**
* Razvan's public code. Copyright 2008 based on Apache license (share alike) see LICENSE.txt for
* details.
*/
package razie.draw;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import razie.comms.CommsEndPoint;
import razie.draw.StreamableContainer.Impl;
import co... |
/**
* Razvan's public code. Copyright 2008 based on Apache license (share alike) see LICENSE.txt for
* details.
*/
package razie.draw.samples;
import razie.base.ActionContext;
import razie.base.ActionItem;
import razie.base.ActionToInvoke;
import razie.base.AttrAccessImpl;
import razie.base.BaseActionToIn... |
/**
* Razvan's public code.
* Copyright 2008 based on Apache license (share alike) see LICENSE.txt for details.
*/
package razie.draw;
/**
* this is really an object input stream...
*
* TODO find use and finalize
*
* $
* @author razvanc99
*
*/
public interface DrawableInputStream {
p... |
/**
* Razvan's public code. Copyright 2008 based on Apache license (share alike) see LICENSE.txt for
* details.
*/
package razie.draw.widgets;
import razie.base.ActionItem;
import razie.base.ActionToInvoke;
import razie.draw.DrawStream;
import razie.draw.Technology;
import razie.draw.Renderer;
/**
... |
/**
* Razvan's public code. Copyright 2008 based on Apache license (share alike) see LICENSE.txt for
* details.
*/
package razie.draw.widgets;
import java.util.ArrayList;
import java.util.List;
import razie.base.ActionToInvoke;
import razie.draw.DrawList;
import razie.draw.DrawStream;
import razie.draw... |
/**
* Razvan's public code. Copyright 2008 based on Apache license (share alike) see LICENSE.txt for
* details.
*/
package razie.draw.widgets;
import java.util.HashMap;
import java.util.Map;
import razie.base.ActionItem;
import razie.base.ActionToInvoke;
import razie.base.AttrAccess;
import razie.base.... |
/**
* Razvan's public code. Copyright 2008 based on Apache license (share alike) see LICENSE.txt for
* details.
*/
package razie.draw.widgets;
import razie.base.ActionItem;
import razie.base.ActionToInvoke;
/**
* a button with an action and image that navigates elsewhere (i.e. open a new window or do GE... |
package razie.draw.widgets;
/** i want to abstract a window
*
* TODO i don't know how to abstract nicely the layouts...
*
*/
public class CoolWindow {
public enum Style {
POPUP, BROWSED
};
Style style;
public CoolWindow style(Style s) {
this.style = s;
retu... |
package razie.draw.widgets;
import razie.draw.DrawStream;
import razie.draw.Technology;
import razie.draw.Drawable.Widget;
import com.razie.pub.base.data.HtmlRenderUtils;
/**
* Draw a text with proper toHTML formatting, including escaping of special html chars
*
* @author razvanc99
*/
public class ... |
package razie.draw.widgets;
import razie.draw.DrawStream;
import razie.draw.Technology;
import razie.draw.Drawable.Widget;
import razie.draw.Renderer;
import com.razie.pub.base.data.*;
import com.razie.pub.base.log.*;
/**
* dedicated error object (popups, info bars etc)
*
* TODO set server error... |
/**
* Razvan's public code. Copyright 2008 based on Apache license (share alike) see LICENSE.txt for
* details.
*/
package razie.draw.widgets;
import razie.base.ActionItem;
import razie.base.ActionToInvoke;
import razie.draw.DrawStream;
import razie.draw.Technology;
import razie.draw.Drawable.Widget;
i... |
package razie.draw.widgets;
import razie.draw.DrawStream;
import razie.draw.Technology;
import razie.draw.Drawable.Widget;
import razie.draw.Renderer;
/**
* just a wrapper to turn any object into a drawable string, via toString(). One use is to stream
* exceptions for instance.
*
* this is useful al... |
package razie.draw;
/** generic alignment codes - used by any widget that knows what alignement is... */
public enum Align {
LEFT, CENTER, RIGTH, TOP, BOTTOM
} |
/**
* Razvan's public code. Copyright 2008 based on Apache license (share alike) see LICENSE.txt for
* details.
*/
package razie.draw;
/** this is a remnant of illogical thinking. Use Drawable instead
*
* @author razvanc
*/
public interface Drawable3 extends Drawable {
// TODO 1-2 get rid of this... |
/**
* Razvan's public code. Copyright 2008 based on Apache license (share alike) see LICENSE.txt for
* details.
*/
package razie.draw;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.List;
import razie.draw.StreamableContainer.Impl;
import razie.draw.Renderer.ContainerRende... |
/**
* Razvan's public code.
* Copyright 2008 based on Apache license (share alike) see LICENSE.txt for details.
*/
package razie.draw;
/**
* many methods just get result sets, without caring about the form in which these will be
* presented. Clients can feed them whichever accumulator they want. Normal... |
/**
* Razvan's public code.
* Copyright 2008 based on Apache license (share alike) see LICENSE.txt for details.
*/
package razie.draw;
/**
* just wrap a container and present it as a stream - this is to separate model logic from
* presentation: the model logic knows to stream and you just just stream... |
/**
* Razvan's public code. Copyright 2008 based on Apache license (share alike) see LICENSE.txt for
* details.
*/
package razie.draw;
import razie.draw.Drawable3.DefaultRenderer;
import com.razie.pub.base.data.HtmlRenderUtils;
import com.razie.pub.base.data.IndexedMemDb;
/**
* a renderer can render ... |
/**
* Razvan's public code.
* Copyright 2008 based on Apache license (share alike) see LICENSE.txt for details.
*/
package razie.draw;
/**
* defines the contract for a streamable container - a container that can be attached to a stream
*
* <p>
* The protocol for writing into a stream is: the strea... |
/**
* Razvan's public code. Copyright 2008 based on Apache license (share alike) see LICENSE.txt for
* details.
*/
package razie.base;
import razie.draw.Drawable;
/**
* this is an instance of an action, meant to be invoked. It is prepared by someone and can be
* executed on the spot OR presented to the... |
/**
* Razvan's public code. Copyright 2008 based on Apache license (share alike) see LICENSE.txt for
* details.
*/
package razie.base;
import razie.draw.DrawStream;
import razie.draw.Drawable;
import razie.draw.Technology;
import razie.draw.widgets.NavButton;
import razie.draw.widgets.NavLink;
/**
* ... |
package rickyl.graduate;
import android.app.Activity;
import android.view.*;
import android.widget.*;
import android.media.AudioFormat;
import android.media.AudioRecord;
import android.media.MediaRecorder;
import android.os.Bundle;
import android.os.Environment;
import java.util.*;
import java.io.*;
public class GP0... |
/** Automatically generated file. DO NOT MODIFY */
package kr.ac.hanyang.cs.jhpark;
public final class BuildConfig {
public final static boolean DEBUG = true;
} |
package kr.ac.hanyang.cs.jhpark;
import java.util.ArrayList;
import android.app.Activity;
import android.app.ListActivity;
import android.content.Context;
import android.content.Intent;
import android.content.res.Resources;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import... |
package kr.ac.hanyang.cs.jhpark;
import java.util.ArrayList;
import android.app.Activity;
import android.app.ListActivity;
import android.content.Context;
import android.content.Intent;
import android.content.res.Resources;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import... |
package kr.ac.hanyang.cs.jhpark;
import java.util.ArrayList;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.net.wifi.WifiManager;
import android.view.Window;
import android.view.WindowManager;
public class CastSkill {
private Intent intent;
private Activi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.