Searched refs:Format (Results 1 - 25 of 30) sorted by relevance

12

/openjdk7/jdk/src/share/classes/java/text/
H A DDontCareFieldPosition.java37 private final Format.FieldDelegate noDelegate = new Format.FieldDelegate() {
38 public void formatted(Format.Field attr, Object value, int start,
41 public void formatted(int fieldID, Format.Field attr, Object value,
50 Format.FieldDelegate getFieldDelegate() {
H A DFieldPosition.java42 * <code>FieldPosition</code> is a simple class used by <code>Format</code>
48 * subclasses of <code>Format</code>.
49 * <li>By a <code>Format.Field</code> constant, see <code>ERA_FIELD</code>
60 * <code>Format</code> classes requires a <code>FieldPosition</code>
67 * formatted string use the <code>Format</code> method
71 * @see java.text.Format
77 * The meaning depends on the subclass of Format.
96 private Format.Field attribute;
101 * in the various subclasses of Format.
114 * identified by constants defined in the various <code>Format</cod
[all...]
H A DFormat.java44 * <code>Format</code> is an abstract base class for formatting locale-sensitive
48 * <code>Format</code> defines the programming interface for formatting
64 * The Java Platform provides three specialized subclasses of <code>Format</code>--
100 * Subclasses of <code>Format</code> that allow programmers to create objects
133 public abstract class Format implements Serializable, Cloneable { class in inherits:Serializable,Cloneable
141 protected Format() { method in class:Format
153 * @exception IllegalArgumentException if the Format cannot format the given
175 * @exception IllegalArgumentException if the Format cannot format the given
189 * <code>Field</code>. It is up to each <code>Format</code> implementation
199 * @exception IllegalArgumentException when the Format canno
[all...]
H A DCharacterIteratorFieldDelegate.java30 * CharacterIteratorFieldDelegate combines the notifications from a Format
36 class CharacterIteratorFieldDelegate implements Format.FieldDelegate {
56 public void formatted(Format.Field attr, Object value, int start, int end,
95 public void formatted(int fieldID, Format.Field attr, Object value,
H A DMessageFormat.java63 * <code>MessageFormat</code> differs from the other <code>Format</code>
116 * "$#31,45"}. Refer to each {@code Format} subclass documentation for
145 * a {@code Format} instance for the format element. The following
146 * table shows how the values map to {@code Format} instances. Combinations not
148 * be a valid pattern string for the {@code Format} subclass used.
150 * <table border=1 summary="Shows how FormatType and FormatStyle values map to Format instances">
335 * @see Format
346 public class MessageFormat extends Format {
529 Format fmt = formats[i];
607 public void setFormatsByArgumentIndex(Format[] newFormat
[all...]
H A DDateFormat.java135 * @see Format
143 public abstract class DateFormat extends Format {
268 * Overrides Format.
290 * @see java.text.Format
795 public static class Field extends Format.Field {
H A DNumberFormat.java182 public abstract class NumberFormat extends Format {
283 * @see java.text.Format#format
294 * @see java.text.Format#format
305 * @see java.text.Format#format
315 * @see java.text.Format#format
330 * @see java.text.Format#parseObject
1032 public static class Field extends Format.Field {
/openjdk7/jdk/src/share/classes/javax/swing/text/rtf/charsets/
H A Dmac.txt7 # Table format: Format A
/openjdk7/jdk/src/share/classes/sun/invoke/util/
H A DWrapper.java29 BOOLEAN(Boolean.class, boolean.class, 'Z', (Boolean)false, new boolean[0], Format.unsigned(1)),
31 BYTE(Byte.class, byte.class, 'B', (Byte)(byte)0, new byte[0], Format.signed(8)),
32 SHORT(Short.class, short.class, 'S', (Short)(short)0, new short[0], Format.signed(16)),
33 CHAR(Character.class, char.class, 'C', (Character)(char)0, new char[0], Format.unsigned(16)),
34 INT(Integer.class, int.class, 'I', (Integer)/*(int)*/0, new int[0], Format.signed(32)),
35 LONG(Long.class, long.class, 'J', (Long)(long)0, new long[0], Format.signed(64)),
36 FLOAT(Float.class, float.class, 'F', (Float)(float)0, new float[0], Format.floating(32)),
37 DOUBLE(Double.class, double.class, 'D', (Double)(double)0, new double[0], Format.floating(64)),
38 //NULL(Null.class, null.class, 'N', null, null, Format.other(1)),
39 OBJECT(Object.class, Object.class, 'L', null, new Object[0], Format
72 private static abstract class Format { class in class:Wrapper
[all...]
/openjdk7/jdk/test/sun/security/util/Resources/
H A DFormat.java29 * @run main/othervm/policy=Format.policy -Djava.security.auth.login.config=file:${test.src}/Format.config Format
41 public class Format class in inherits:java.io.Serializable,java.security.Principal
60 ("Format", "read");
69 ("Format Format", "read");
78 ("Format Format Format", "rea
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DDateFormatter.java61 * <code>Format</code> instance.
63 * @param format Format used to dictate legal values
86 * or if the <code>Format</code> is not a <code>DateFormat</code>
90 Format f = getFormat();
H A DInternationalFormatter.java36 * using an instance of <code>java.text.Format</code> to handle the
40 * <code>Format</code> to format the current text on every edit.
48 * Be careful how you configure the <code>Format</code> and the
60 * from the <code>Format</code>.
68 * <li><code>parseObject</code> is invoked on the <code>Format</code>
79 * <code>Format</code> may return.
90 * @see java.text.Format
99 private static final Format.Field[] EMPTY_FIELD_ARRAY =new Format.Field[0];
104 private Format forma
[all...]
H A DNumberFormatter.java68 * the Format's <code>parseObject</code> returns an instance of
93 /** The special characters from the Format instance. */
106 * Creates a NumberFormatter with the specified Format instance.
108 * @param format Format used to dictate legal values
128 public void setFormat(Format format) {
157 Object stringToValue(String text, Format f) throws ParseException {
230 * Returns the DecimalFormatSymbols from the Format instance.
233 Format f = getFormat();
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/
H A DD3DResourceManager.cpp42 desc.Format = D3DFMT_UNKNOWN;
103 if (desc.Format != D3DFMT_UNKNOWN) {
627 (format == pDesc->Format ||
630 pDevCaps->DeviceType, format, pDesc->Format))))
661 (fmt == pDesc->Format || fmt == D3DFMT_UNKNOWN))
691 format == pDesc->Format)
728 if ((format == pDesc->Format ||
731 pDevCaps->DeviceType, format, pDesc->Format))))
H A DD3DGraphicsDevice.cpp183 newParams.BackBufferFormat = dm.Format;
306 if (mode.Format == D3DFMT_R5G6B5) {
309 } else if (mode.Format == D3DFMT_X1R5G5B5) {
368 switch (mode.Format) {
416 switch (mode.Format) {
H A DD3DContext.cpp511 pNewParams->BackBufferFormat = dm.Format;
810 dm.Format, pTargetDesc->Format,
811 descStencil.Format)));
836 adapterOrdinal, dm.Format, pTargetDesc->Format);
1194 if (pDesc->Format == D3DFMT_A8) {
1203 else if (pDesc->Format == D3DFMT_A8R8G8B8) {
1220 if (pDesc->Format == D3DFMT_R8G8B8) {
1244 else if (pDesc->Format
[all...]
H A DD3DSurfaceData.cpp424 D3DFORMAT srcFmt = d3dsdo->pResource->GetDesc()->Format;
485 D3DFORMAT srcFmt = d3dsdo->pResource->GetDesc()->Format;
600 pSrcRes->GetDesc()->Format,
H A DD3DTextRenderer.cpp189 GetCachedDestTexture(dstOps->pResource->GetDesc()->Format,
387 GetCachedDestTexture(dstOps->pResource->GetDesc()->Format,
472 GetCachedDestTexture(dstOps->pResource->GetDesc()->Format,
664 GetCachedDestTexture(dstOps->pResource->GetDesc()->Format,
H A DD3DBlitLoops.cpp162 switch (desc.Format) {
196 desc.Format);
586 srcOps->pResource->GetDesc()->Format,
948 D3DFORMAT srcFmt = srcOps->pResource->GetDesc()->Format;
1077 dstOps->pResource->GetDesc()->Format,
/openjdk7/hotspot/src/share/vm/services/
H A DdiagnosticFramework.cpp93 "Format error in diagnostic command arguments", false);
124 "Format error in diagnostic command arguments", false);
/openjdk7/jdk/src/windows/native/com/sun/media/sound/
H A DPLATFORM_API_WinOS_DirectSound.cpp604 WAVEFORMATEX Format; member in struct:__anon1058
635 format->Format.nSamplesPerSec = (DWORD)sampleRate;
636 format->Format.nChannels = (WORD) channels;
638 format->Format.wBitsPerSample = (WORD) ((bits + 7) & 0xFFF8);
641 format->Format.wFormatTag = WAVE_FORMAT_PCM;
642 format->Format.cbSize = 0;
644 format->Format.wFormatTag = WAVE_FORMAT_EXTENSIBLE;
645 format->Format.cbSize = 22;
651 format->Format.nBlockAlign = (WORD)((format->Format
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJProgressBar.java31 import java.text.Format;
223 * Format used when displaying percent complete.
225 private transient Format format;
H A DJFormattedTextField.java299 * @param format Format used to look up an AbstractFormatter
301 public JFormattedTextField(java.text.Format format) {
830 if (type instanceof Format) {
832 (Format)type));
/openjdk7/jdk/test/java/util/PluggableLocale/
H A DDateFormatProviderTest.java153 Format[] fmts = mf.getFormats();
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaSpinnerUI.java33 import java.text.Format.Field;
352 final Format format = dateEditor.getFormat();
406 final Format.Field[] fields = ((InternationalFormatter)formatter).getFields(start);

Completed in 170 milliseconds

12