📄 barcodetextposition.java
字号:
// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov Date: 2007-11-23 16:17:22
// Home Page : http://members.fortunecity.com/neshkov/dj.html - Check often for new version!
// Decompiler options: packimports(3)
// Source File Name: BarcodeTextPosition.java
package com.bokai.barcodes;
public class BarcodeTextPosition
{
public BarcodeTextPosition()
{
}
public static int fromString(String s, int i)
{
if(s.length() == 1)
{
int j = s.charAt(0) - 48;
switch(j)
{
case 0: // '\0'
case 1: // '\001'
case 2: // '\002'
return j;
}
return i;
}
s = s.toLowerCase();
if(s.equals("above"))
return 0;
if(s.equals("below"))
return 1;
if(s.equals("notshown"))
return 2;
else
return i;
}
public static String toString(int i)
{
switch(i)
{
case 0: // '\0'
return "Above";
case 2: // '\002'
return "NotShown";
case 1: // '\001'
default:
return "Below";
}
}
public static final int above = 0;
public static final int below = 1;
public static final int notShown = 2;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -