Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (322)
Collections:
Other Resources:
What Is jxl.jar 2.6.12
What is jxl.jar 2.6.12?
✍: fyicenter.com
jxl.jar 2.6.12 is the JAR file for Java Excel API 2.6.12,
which is a Java library for reading, writing and
modifying Microsoft Excel spreadsheet files.
JAR File Size and Download Location:
JAR name: jxl-2.6.12.jar Target JDK version: 1.6 Dependency: None File name: jxl.jar File size: 725735 bytes Release date: 24-Oct-2009 Download: Java Excel API Website.
Here are Java Source Code files for jxl-2.6.12.jar:
⏎ jxl/format/Orientation.java
/*********************************************************************
*
* Copyright (C) 2002 Andrew Khan
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
***************************************************************************/
package jxl.format;
/**
* Enumeration type which describes the orientation of data within a cell
*/
public final class Orientation
{
/**
* The internal binary value which gets written to the generated Excel file
*/
private int value;
/**
* The textual description
*/
private String string;
/**
* The list of alignments
*/
private static Orientation[] orientations = new Orientation[0];
/**
* Constructor
*
* @param val
*/
protected Orientation(int val, String s)
{
value = val; string = s;
Orientation[] oldorients = orientations;
orientations = new Orientation[oldorients.length + 1];
System.arraycopy(oldorients, 0, orientations, 0, oldorients.length);
orientations[oldorients.length] = this;
}
/**
* Accessor for the binary value
*
* @return the internal binary value
*/
public int getValue()
{
return value;
}
/**
* Gets the textual description
*/
public String getDescription()
{
return string;
}
/**
* Gets the alignment from the value
*
* @param val
* @return the alignment with that value
*/
public static Orientation getOrientation(int val)
{
for (int i = 0 ; i < orientations.length ; i++)
{
if (orientations[i].getValue() == val)
{
return orientations[i];
}
}
return HORIZONTAL;
}
/**
* Cells with this specified orientation will be horizontal
*/
public static Orientation HORIZONTAL = new Orientation(0, "horizontal");
/**
* Cells with this specified orientation have their data
* presented vertically
*/
public static Orientation VERTICAL = new Orientation(0xff, "vertical");
/**
* Cells with this specified orientation will have their data
* presented with a rotation of 90 degrees upwards
*/
public static Orientation PLUS_90 = new Orientation(90, "up 90");
/**
* Cells with this specified orientation will have their data
* presented with a rotation of 90 degrees downwards
*/
public static Orientation MINUS_90 = new Orientation(180, "down 90");
/**
* Cells with this specified orientation will have their data
* presented with a rotation 45 degrees upwards
*/
public static Orientation PLUS_45 = new Orientation(45, "up 45");
/**
* Cells with this specified orientation will have their data
* presented with a rotation 45 degrees downwards
*/
public static Orientation MINUS_45 = new Orientation(135, "down 45");
/**
* Cells with this specified orientation will have their text stacked
* downwards, but not rotated
*/
public static Orientation STACKED = new Orientation(255, "stacked");
}
⏎ jxl/format/Orientation.java
Or download all of them as a single archive file:
File name: jxl-2.6.12-src.zip File size: 824057 bytes Release date: 2009-10-24 Download
⇐ What Is jexcelapi_2_6_12.zip
2017-06-09, ≈187🔥, 6💬
Popular Posts:
How to merge two JAR files with "jar" commands? I am tired of specifying multiple JAR files in the c...
kernel.jar is a component in iText Java library to provide low-level functionalities. iText Java lib...
JDK 17 java.rmi.jmod is the JMOD file for JDK 17 RMI (Remote Method Invocation) module. JDK 17 RMI m...
What Is XMLBeans xbean.jar 2.6.0? XMLBeans xbean.jar 2.6.0 is the JAR file for Apache XMLBeans 2.6.0...
How to read XML document from socket connections with the socket\DelayedInput.java provided in the A...