Appendix B

Default Editor Abbreviations

Editor abbreviations can be defined by opening the Global Options window, expanding the Editor Settings node, selecting the subnode for the type of Editor, selecting the Abbreviations property, and opening its custom property editor. You can add, delete, and change abbreviations. The following tables list the default Java Editor abbreviations and JSP Editor abbreviations.

Table 26: Java Editor abbreviations
Abbreviation
Expands To
En
Enumeration
Ex
Exception
Gr
Graphics
Ob
Object
Psf
public static final
Psfb
public static final boolean
Psfi
public static final int
Psfs
public static final String
Re
Rectangle
St
String
Ve
Vector
ab
abstract
bo
boolean
br
break
ca
catch (
cl
class
cn
continue
df
default:
ex
extends
fa
false
fi
final
fl
float
fy
finally
ie
interface
im
implements
impS
import com.sun.java.swing.
impa
import java.awt.
impb
import java.beans.
impd
import com.netbeans.developer
impj
import java.
impq
import javax.sql
imps
import javax.swing.
impx
import.com.netbeans.developerx
iof
instanceof
ir
import
pe
protected
pr
private
psf
private static final
psfb
private static final boolean
psfi
private static final int
psfs
private static final String
pst
printStackTrace();
pu
public
re
return
serr
System.err.println ("
sh
short
sout
System.out.println ("
st
static
sw
switch (
sy
synchronized
tds
Thread.dumpStack();
th
throws
tr
transient
tw
throw
twn
throw new
twne
throw new Error()
twni
throw new InternalError();
wh
while
Table 27: JSP Editor abbreviations
Abbreviation
Expands To
ag
application.getValue("
ap
application.putValue("
ar
application.removeValue("
cfgi
config.getInitParameter("
jg
<jsp:getProperty name="
jspf
<jsp:forward page="
jspg
<jsp:getProperty name="
jspi
<jsp:include page="
jspp
<jsp:plugin type="
jsps
<jsp:setProperty name="
jspu
<jsp:useBean id="
oup
out.print("
oupl
out.println("
pcg
pageContext.getAttribute("
pcgn
pageContext.getAttributeNamesInScope(
pcgs
pageContext.getAttributesScope("
pcr
pageContext.removeAttribute("
pcs
pageContext.setAttribute("
pg
<%@ page
pga
<%@ page autoFlush="
pgb
<%@ page buffer="
pgc
<%@ page contentType="
pgerr
<%@ page errorPage="
pgex
<%@ page extends="
pgie
<%@ page isErrorPage="
pgim
<%@ page import="
pgin
<%@ page info="
pgit
<%@ page isThreadSafe="
pgl
<%@ page language="
pgs
<%@ page session="
rg
request.getParameter("
sg
session.getValue("
sp
session.putValue("
sr
session.removeValue("
tglb
<%@ taglib uri="

Contents Prev Next Index