Serialized Form

Package com.lowagie.text

Class com.lowagie.text.Anchor extends Phrase implements Serializable

serialVersionUID: -852278536049236911L

Serialized Fields

name

 String name
This is the name of the Anchor.

reference

 String reference
This is the reference of the Anchor.

Class com.lowagie.text.BadElementException extends DocumentException implements Serializable

serialVersionUID: -799006030723822254L

Class com.lowagie.text.Chapter extends Section implements Serializable

serialVersionUID: 1791000695779357361L

Class com.lowagie.text.ChapterAutoNumber extends Chapter implements Serializable

serialVersionUID: -9217457637987854167L

Class com.lowagie.text.DocumentException extends Exception implements Serializable

serialVersionUID: -2191131489390840739L

Serialized Fields

ex

 Exception ex

Class com.lowagie.text.ExceptionConverter extends RuntimeException implements Serializable

serialVersionUID: 8657630363395849399L

Serialized Fields

ex

 Exception ex
we keep a handle to the wrapped exception

prefix

 String prefix
prefix for the exception

Class com.lowagie.text.ListItem extends Paragraph implements Serializable

serialVersionUID: 1970670787169329006L

Serialized Fields

symbol

 Chunk symbol
this is the symbol that will precede the listitem.

Class com.lowagie.text.Paragraph extends Phrase implements Serializable

serialVersionUID: 7852314969733375514L

Serialized Fields

alignment

 int alignment
The alignment of the text.

multipliedLeading

 float multipliedLeading
The text leading that is multiplied by the biggest font size in the line.

indentationLeft

 float indentationLeft
The indentation of this paragraph on the left side.

indentationRight

 float indentationRight
The indentation of this paragraph on the right side.

firstLineIndent

 float firstLineIndent
Holds value of property firstLineIndent.

spacingBefore

 float spacingBefore
The spacing before the paragraph.

spacingAfter

 float spacingAfter
The spacing after the paragraph.

extraParagraphSpace

 float extraParagraphSpace
Holds value of property extraParagraphSpace.

keeptogether

 boolean keeptogether
Does the paragraph has to be kept together on 1 page.

Class com.lowagie.text.Phrase extends ArrayList<E> implements Serializable

serialVersionUID: 2643594602455068231L

Serialized Fields

leading

 float leading
This is the leading of this phrase.

font

 Font font
This is the font of this phrase.

Class com.lowagie.text.Section extends ArrayList<E> implements Serializable

serialVersionUID: 3324172577544748043L

Serialized Fields

title

 Paragraph title
The title of this section.

bookmarkTitle

 String bookmarkTitle
The bookmark title if different from the content title

numberDepth

 int numberDepth
The number of sectionnumbers that has to be shown before the section title.

numberStyle

 int numberStyle
The style for sectionnumbers.
Since:
iText 2.0.8

indentationLeft

 float indentationLeft
The indentation of this section on the left side.

indentationRight

 float indentationRight
The indentation of this section on the right side.

indentation

 float indentation
The additional indentation of the content of this section.

bookmarkOpen

 boolean bookmarkOpen
false if the bookmark children are not visible

triggerNewPage

 boolean triggerNewPage
true if the section has to trigger a new page

subsections

 int subsections
This is the number of subsections.

numbers

 ArrayList<E> numbers
This is the complete list of sectionnumbers of this section and the parents of this section.

complete

 boolean complete
Indicates if the Section will be complete once added to the document.
Since:
iText 2.0.8

addedCompletely

 boolean addedCompletely
Indicates if the Section was added completely to the document.
Since:
iText 2.0.8

notAddedYet

 boolean notAddedYet
Indicates if this is the first time the section was added.
Since:
iText 2.0.8

Package com.lowagie.text.html

Class com.lowagie.text.html.HtmlTagMap extends HashMap<K,V> implements Serializable

serialVersionUID: 5287430058473705350L

Class com.lowagie.text.html.WebColors extends HashMap<K,V> implements Serializable

serialVersionUID: 3542523100813372896L

Package com.lowagie.text.pdf

Class com.lowagie.text.pdf.BadPasswordException extends IOException implements Serializable

serialVersionUID: -4333706268155063964L

Class com.lowagie.text.pdf.BadPdfFormatException extends PdfException implements Serializable

serialVersionUID: 1802317735708833538L

Class com.lowagie.text.pdf.CMYKColor extends ExtendedColor implements Serializable

serialVersionUID: 5940378778276468452L

Serialized Fields

cyan

 float cyan

magenta

 float magenta

yellow

 float yellow

black

 float black

Class com.lowagie.text.pdf.ExtendedColor extends Color implements Serializable

serialVersionUID: 2722660170712380080L

Serialized Fields

type

 int type

Class com.lowagie.text.pdf.GrayColor extends ExtendedColor implements Serializable

serialVersionUID: -6571835680819282746L

Serialized Fields

gray

 float gray
The color gray. In the default sRGB space.

Class com.lowagie.text.pdf.PatternColor extends ExtendedColor implements Serializable

serialVersionUID: -1185448552860615964L

Serialized Fields

painter

 PdfPatternPainter painter
The actual pattern.

Class com.lowagie.text.pdf.PdfException extends DocumentException implements Serializable

serialVersionUID: 6767433960955483999L

Class com.lowagie.text.pdf.PdfXConformanceException extends RuntimeException implements Serializable

serialVersionUID: 9199144538884293397L

Class com.lowagie.text.pdf.ShadingColor extends ExtendedColor implements Serializable

serialVersionUID: 4817929454941328671L

Serialized Fields

shadingPattern

 PdfShadingPattern shadingPattern

Class com.lowagie.text.pdf.SpotColor extends ExtendedColor implements Serializable

serialVersionUID: -6257004582113248079L

Serialized Fields

spot

 PdfSpotColor spot

tint

 float tint

Class com.lowagie.text.pdf.XfaForm.Stack2 extends ArrayList<E> implements Serializable

serialVersionUID: -7451476576174095212L

Package com.lowagie.text.pdf.codec

Class com.lowagie.text.pdf.codec.TIFFDirectory extends Object implements Serializable

serialVersionUID: -168636766193675380L

Serialized Fields

isBigEndian

 boolean isBigEndian
A boolean storing the endianness of the stream.

numEntries

 int numEntries
The number of entries in the IFD.

fields

 TIFFField[] fields
An array of TIFFFields.

fieldIndex

 Hashtable<K,V> fieldIndex
A Hashtable indexing the fields by tag number.

IFDOffset

 long IFDOffset
The offset of this IFD.

nextIFDOffset

 long nextIFDOffset
The offset of the next IFD.

Class com.lowagie.text.pdf.codec.TIFFField extends Object implements Serializable

serialVersionUID: 9088332901412823834L

Serialized Fields

tag

 int tag
The tag number.

type

 int type
The tag type.

count

 int count
The number of data items present in the field.

data

 Object data
The field data.

Package com.lowagie.text.pdf.hyphenation

Class com.lowagie.text.pdf.hyphenation.ByteVector extends Object implements Serializable

serialVersionUID: -1096301185375029343L

Serialized Fields

blockSize

 int blockSize

array

 byte[] array
The encapsulated array

n

 int n
Points to next free item

Class com.lowagie.text.pdf.hyphenation.CharVector extends Object implements Serializable

serialVersionUID: -4875768298308363544L

Serialized Fields

blockSize

 int blockSize

array

 char[] array
The encapsulated array

n

 int n
Points to next free item

Class com.lowagie.text.pdf.hyphenation.Hyphen extends Object implements Serializable

serialVersionUID: -7666138517324763063L

Serialized Fields

preBreak

 String preBreak

noBreak

 String noBreak

postBreak

 String postBreak

Class com.lowagie.text.pdf.hyphenation.HyphenationException extends Exception implements Serializable

serialVersionUID: 4721513606846982325L

Class com.lowagie.text.pdf.hyphenation.HyphenationTree extends TernaryTree implements Serializable

serialVersionUID: -7763254239309429432L

Serialized Fields

vspace

 ByteVector vspace
value space: stores the interletter values

stoplist

 HashMap<K,V> stoplist
This map stores hyphenation exceptions

classmap

 TernaryTree classmap
This map stores the character classes

Class com.lowagie.text.pdf.hyphenation.TernaryTree extends Object implements Serializable

serialVersionUID: 5313366505322983510L

Serialized Fields

lo

 char[] lo
Pointer to low branch and to rest of the key when it is stored directly in this node, we don't have unions in java!

hi

 char[] hi
Pointer to high branch.

eq

 char[] eq
Pointer to equal branch and to data when this node is a string terminator.

sc

 char[] sc
The character stored in this node: splitchar. Two special values are reserved:
  • 0x0000 as string terminator
  • 0xFFFF to indicate that the branch starting at this node is compressed

This shouldn't be a problem if we give the usual semantics to strings since 0xFFFF is guaranteed not to be an Unicode character.


kv

 CharVector kv
This vector holds the trailing of the keys when the branch is compressed.

root

 char root

freenode

 char freenode

length

 int length

Package com.lowagie.text.xml

Class com.lowagie.text.xml.TagMap extends HashMap<K,V> implements Serializable

serialVersionUID: -6809383366554350820L

Package com.lowagie.text.xml.xmp

Class com.lowagie.text.xml.xmp.DublinCoreSchema extends XmpSchema implements Serializable

serialVersionUID: -4551741356374797330L

Class com.lowagie.text.xml.xmp.LangAlt extends Properties implements Serializable

serialVersionUID: 4396971487200843099L

Class com.lowagie.text.xml.xmp.PdfA1Schema extends XmpSchema implements Serializable

serialVersionUID: 5300646133692948168L

Class com.lowagie.text.xml.xmp.PdfSchema extends XmpSchema implements Serializable

serialVersionUID: -1541148669123992185L

Class com.lowagie.text.xml.xmp.XmpArray extends ArrayList<E> implements Serializable

serialVersionUID: 5722854116328732742L

Serialized Fields

type

 String type
the type of array.

Class com.lowagie.text.xml.xmp.XmpBasicSchema extends XmpSchema implements Serializable

serialVersionUID: -2416613941622479298L

Class com.lowagie.text.xml.xmp.XmpMMSchema extends XmpSchema implements Serializable

serialVersionUID: 1408509596611634862L

Class com.lowagie.text.xml.xmp.XmpSchema extends Properties implements Serializable

serialVersionUID: 4112578634029874840L

Serialized Fields

xmlns

 String xmlns
the namesspace

Package com.sun.image.codec.jpeg

Class com.sun.image.codec.jpeg.ImageFormatException extends RuntimeException implements Serializable

serialVersionUID: -7034897190745766939L

Class com.sun.image.codec.jpeg.TruncatedFileException extends RuntimeException implements Serializable

serialVersionUID: -7034897190745766939L

Serialized Fields

ras

 Raster ras

bi

 BufferedImage bi

Package com.sun.imageio.plugins.common

Class com.sun.imageio.plugins.common.BogusColorSpace extends ColorSpace implements Serializable

serialVersionUID: -409452704308689724L

Package com.sun.java.swing.plaf.gtk

Class com.sun.java.swing.plaf.gtk.GTKFileChooserUI.DirectoryCellRenderer extends DefaultListCellRenderer implements Serializable

serialVersionUID: 4613797578919906343L

Class com.sun.java.swing.plaf.gtk.GTKFileChooserUI.DirectoryComboBoxAction extends AbstractAction implements Serializable

Class com.sun.java.swing.plaf.gtk.GTKFileChooserUI.DirectoryComboBoxModel extends AbstractListModel implements Serializable

Serialized Fields

directories

 Vector<E> directories

selectedDirectory

 File selectedDirectory

chooser

 JFileChooser chooser

fsv

 FileSystemView fsv

Class com.sun.java.swing.plaf.gtk.GTKFileChooserUI.FileCellRenderer extends DefaultListCellRenderer implements Serializable

serialVersionUID: 4613797578919906343L

Class com.sun.java.swing.plaf.gtk.GTKFileChooserUI.FilterComboBoxModel extends AbstractListModel implements Serializable

Serialized Fields

filters

 FileFilter[] filters

Class com.sun.java.swing.plaf.gtk.GTKFileChooserUI.FilterComboBoxRenderer extends DefaultListCellRenderer implements Serializable

serialVersionUID: 4613797578919906343L

Class com.sun.java.swing.plaf.gtk.GTKFileChooserUI.GTKDirectoryListModel extends AbstractListModel implements Serializable

Serialized Fields

curDir

 File curDir

Class com.sun.java.swing.plaf.gtk.GTKFileChooserUI.GTKFileListModel extends AbstractListModel implements Serializable

Class com.sun.java.swing.plaf.gtk.GTKLookAndFeel extends SynthLookAndFeel implements Serializable

Serialized Fields

fallbackFont

 Font fallbackFont
Font to use in places where there is no widget.

inInitialize

 boolean inInitialize
If true, GTKLookAndFeel is inside the initialize method.

Package com.sun.java.swing.plaf.motif

Class com.sun.java.swing.plaf.motif.MotifBorders.BevelBorder extends AbstractBorder implements Serializable

Serialized Fields

darkShadow

 Color darkShadow

lightShadow

 Color lightShadow

isRaised

 boolean isRaised

Class com.sun.java.swing.plaf.motif.MotifBorders.ButtonBorder extends AbstractBorder implements Serializable

Serialized Fields

focus

 Color focus

shadow

 Color shadow

highlight

 Color highlight

darkShadow

 Color darkShadow

Class com.sun.java.swing.plaf.motif.MotifBorders.FocusBorder extends AbstractBorder implements Serializable

Serialized Fields

focus

 Color focus

control

 Color control

Class com.sun.java.swing.plaf.motif.MotifBorders.FrameBorder extends AbstractBorder implements Serializable

Serialized Fields

jcomp

 JComponent jcomp

frameHighlight

 Color frameHighlight

frameColor

 Color frameColor

frameShadow

 Color frameShadow

Class com.sun.java.swing.plaf.motif.MotifBorders.InternalFrameBorder extends MotifBorders.FrameBorder implements Serializable

Serialized Fields

frame

 JInternalFrame frame

Class com.sun.java.swing.plaf.motif.MotifBorders.MenuBarBorder extends MotifBorders.ButtonBorder implements Serializable

Class com.sun.java.swing.plaf.motif.MotifBorders.MotifPopupMenuBorder extends AbstractBorder implements Serializable

Serialized Fields

font

 Font font

background

 Color background

foreground

 Color foreground

shadowColor

 Color shadowColor

highlightColor

 Color highlightColor

Class com.sun.java.swing.plaf.motif.MotifBorders.ToggleButtonBorder extends MotifBorders.ButtonBorder implements Serializable

Class com.sun.java.swing.plaf.motif.MotifComboBoxRenderer extends JLabel implements Serializable

serialVersionUID: 4613797578919906343L

Class com.sun.java.swing.plaf.motif.MotifComboBoxRenderer.UIResource extends MotifComboBoxRenderer implements Serializable

serialVersionUID: 4613797578919906343L

Class com.sun.java.swing.plaf.motif.MotifComboBoxUI extends BasicComboBoxUI implements Serializable

Serialized Fields

arrowIcon

 Icon arrowIcon

Class com.sun.java.swing.plaf.motif.MotifComboBoxUI.MotifComboPopup extends BasicComboPopup implements Serializable

serialVersionUID: 4613797578919906343L

Class com.sun.java.swing.plaf.motif.MotifDesktopIconUI.IconButton extends JButton implements Serializable

serialVersionUID: 4613797578919906343L

Serialized Fields

icon

 Icon icon

Class com.sun.java.swing.plaf.motif.MotifDesktopIconUI.IconLabel extends JPanel implements Serializable

serialVersionUID: 4613797578919906343L

Serialized Fields

frame

 JInternalFrame frame

Class com.sun.java.swing.plaf.motif.MotifFileChooserUI.DirectoryCellRenderer extends DefaultListCellRenderer implements Serializable

serialVersionUID: 4613797578919906343L

Class com.sun.java.swing.plaf.motif.MotifFileChooserUI.FileCellRenderer extends DefaultListCellRenderer implements Serializable

serialVersionUID: 4613797578919906343L

Class com.sun.java.swing.plaf.motif.MotifFileChooserUI.FilterComboBoxModel extends AbstractListModel implements Serializable

Serialized Fields

filters

 FileFilter[] filters

Class com.sun.java.swing.plaf.motif.MotifFileChooserUI.FilterComboBoxRenderer extends DefaultListCellRenderer implements Serializable

serialVersionUID: 4613797578919906343L

Class com.sun.java.swing.plaf.motif.MotifFileChooserUI.MotifDirectoryListModel extends AbstractListModel implements Serializable

Class com.sun.java.swing.plaf.motif.MotifFileChooserUI.MotifFileListModel extends AbstractListModel implements Serializable

Class com.sun.java.swing.plaf.motif.MotifIconFactory extends Object implements Serializable

Class com.sun.java.swing.plaf.motif.MotifInternalFrameTitlePane extends BasicInternalFrameTitlePane implements Serializable

serialVersionUID: 4613797578919906343L

Serialized Fields

systemButton

 com.sun.java.swing.plaf.motif.MotifInternalFrameTitlePane.SystemButton systemButton

minimizeButton

 com.sun.java.swing.plaf.motif.MotifInternalFrameTitlePane.MinimizeButton minimizeButton

maximizeButton

 com.sun.java.swing.plaf.motif.MotifInternalFrameTitlePane.MaximizeButton maximizeButton

systemMenu

 JPopupMenu systemMenu

title

 com.sun.java.swing.plaf.motif.MotifInternalFrameTitlePane.Title title

color

 Color color

highlight

 Color highlight

shadow

 Color shadow

Class com.sun.java.swing.plaf.motif.MotifLookAndFeel extends BasicLookAndFeel implements Serializable

Class com.sun.java.swing.plaf.motif.MotifRadioButtonMenuItemUI.ChangeHandler extends Object implements Serializable

Class com.sun.java.swing.plaf.motif.MotifScrollBarButton extends BasicArrowButton implements Serializable

serialVersionUID: 4613797578919906343L

Serialized Fields

darkShadow

 Color darkShadow

lightShadow

 Color lightShadow

Class com.sun.java.swing.plaf.motif.MotifSplitPaneDivider extends BasicSplitPaneDivider implements Serializable

serialVersionUID: 4613797578919906343L

Serialized Fields

hThumbOffset

 int hThumbOffset

vThumbOffset

 int vThumbOffset

hThumbWidth

 int hThumbWidth

hThumbHeight

 int hThumbHeight

vThumbWidth

 int vThumbWidth

vThumbHeight

 int vThumbHeight

highlightColor

 Color highlightColor

shadowColor

 Color shadowColor

focusedColor

 Color focusedColor

Class com.sun.java.swing.plaf.motif.MotifTextUI.MotifCaret extends DefaultCaret implements Serializable

serialVersionUID: -4345857070255674764L

Class com.sun.java.swing.plaf.motif.MotifTreeCellRenderer extends DefaultTreeCellRenderer implements Serializable

serialVersionUID: 4613797578919906343L

Class com.sun.java.swing.plaf.motif.MotifTreeCellRenderer.TreeLeafIcon extends Object implements Serializable

Serialized Fields

bg

 Color bg

shadow

 Color shadow

highlight

 Color highlight

Class com.sun.java.swing.plaf.motif.MotifTreeUI.MotifCollapsedIcon extends MotifTreeUI.MotifExpandedIcon implements Serializable

Class com.sun.java.swing.plaf.motif.MotifTreeUI.MotifExpandedIcon extends Object implements Serializable

Package com.sun.java.swing.plaf.windows

Class com.sun.java.swing.plaf.windows.WindowsBorders.DashedBorder extends LineBorder implements Serializable

Class com.sun.java.swing.plaf.windows.WindowsBorders.InternalFrameLineBorder extends LineBorder implements Serializable

Serialized Fields

activeColor

 Color activeColor

inactiveColor

 Color inactiveColor

Class com.sun.java.swing.plaf.windows.WindowsBorders.ProgressBarBorder extends AbstractBorder implements Serializable

Serialized Fields

shadow

 Color shadow

highlight

 Color highlight

Class com.sun.java.swing.plaf.windows.WindowsBorders.ToolBarBorder extends AbstractBorder implements Serializable

Serialized Fields

shadow

 Color shadow

highlight

 Color highlight

Class com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel extends WindowsLookAndFeel implements Serializable

Class com.sun.java.swing.plaf.windows.WindowsComboBoxUI.WindowsComboPopup extends BasicComboPopup implements Serializable

serialVersionUID: 4613797578919906343L

Class com.sun.java.swing.plaf.windows.WindowsDesktopManager extends DefaultDesktopManager implements Serializable

Serialized Fields

currentFrame

 JInternalFrame currentFrame

initialFrame

 JInternalFrame initialFrame

Class com.sun.java.swing.plaf.windows.WindowsFileChooserUI.DirectoryComboBoxModel extends AbstractListModel implements Serializable

Serialized Fields

directories

 Vector<E> directories

depths

 int[] depths

selectedDirectory

 File selectedDirectory

chooser

 JFileChooser chooser

fsv

 FileSystemView fsv

Class com.sun.java.swing.plaf.windows.WindowsFileChooserUI.FileRenderer extends DefaultListCellRenderer implements Serializable

serialVersionUID: 4613797578919906343L

Class com.sun.java.swing.plaf.windows.WindowsFileChooserUI.FilterComboBoxModel extends AbstractListModel implements Serializable

Serialized Fields

filters

 FileFilter[] filters

Class com.sun.java.swing.plaf.windows.WindowsFileChooserUI.FilterComboBoxRenderer extends DefaultListCellRenderer implements Serializable

serialVersionUID: 4613797578919906343L

Class com.sun.java.swing.plaf.windows.WindowsFileChooserUI.WindowsNewFolderAction extends BasicFileChooserUI.NewFolderAction implements Serializable

Class com.sun.java.swing.plaf.windows.WindowsIconFactory extends Object implements Serializable

Class com.sun.java.swing.plaf.windows.WindowsInternalFrameTitlePane extends BasicInternalFrameTitlePane implements Serializable

serialVersionUID: 4613797578919906343L

Serialized Fields

selectedTitleGradientColor

 Color selectedTitleGradientColor

notSelectedTitleGradientColor

 Color notSelectedTitleGradientColor

systemPopupMenu

 JPopupMenu systemPopupMenu

systemLabel

 JLabel systemLabel

titleFont

 Font titleFont

titlePaneHeight

 int titlePaneHeight

buttonWidth

 int buttonWidth

buttonHeight

 int buttonHeight

Class com.sun.java.swing.plaf.windows.WindowsLookAndFeel extends BasicLookAndFeel implements Serializable

Serialized Fields

toolkit

 Toolkit toolkit

updatePending

 boolean updatePending

useSystemFontSettings

 boolean useSystemFontSettings

useSystemFontSizeSettings

 boolean useSystemFontSizeSettings

themeActive

 DesktopProperty themeActive

dllName

 DesktopProperty dllName

colorName

 DesktopProperty colorName

sizeName

 DesktopProperty sizeName

Class com.sun.java.swing.plaf.windows.WindowsSplitPaneDivider extends BasicSplitPaneDivider implements Serializable

serialVersionUID: 4613797578919906343L

Class com.sun.java.swing.plaf.windows.WindowsTreeUI.CollapsedIcon extends WindowsTreeUI.ExpandedIcon implements Serializable

Class com.sun.java.swing.plaf.windows.WindowsTreeUI.ExpandedIcon extends Object implements Serializable

Class com.sun.java.swing.plaf.windows.WindowsTreeUI.WindowsTreeCellRenderer extends DefaultTreeCellRenderer implements Serializable

serialVersionUID: 4613797578919906343L

Package com.sun.java_cup.internal

Class com.sun.java_cup.internal.internal_error extends Exception implements Serializable

serialVersionUID: -3387516993124229948L

Package com.sun.jmx.snmp

Class com.sun.jmx.snmp.BerException extends Exception implements Serializable

serialVersionUID: -3387516993124229948L

Serialized Fields

errorType

 int errorType

Class com.sun.jmx.snmp.Enumerated extends Object implements Serializable

Serialized Fields

value

 int value
This variable keeps the integer form of the enumerated. The string form is retreived using getIntTable().

Class com.sun.jmx.snmp.EnumRowStatus extends Enumerated implements Serializable

Class com.sun.jmx.snmp.SnmpBadSecurityLevelException extends Exception implements Serializable

serialVersionUID: -3387516993124229948L

Class com.sun.jmx.snmp.SnmpCounter extends SnmpUnsignedInt implements Serializable

Class com.sun.jmx.snmp.SnmpCounter64 extends SnmpValue implements Serializable

Serialized Fields

value

 long value
This is where the value is stored. This long is positive.

Class com.sun.jmx.snmp.SnmpEngineId extends Object implements Serializable

Serialized Fields

engineId

 byte[] engineId

hexString

 String hexString

humanString

 String humanString

Class com.sun.jmx.snmp.SnmpEngineParameters extends Object implements Serializable

Serialized Fields

uacl

 UserAcl uacl

securityFile

 String securityFile

encrypt

 boolean encrypt

engineId

 SnmpEngineId engineId

Class com.sun.jmx.snmp.SnmpGauge extends SnmpUnsignedInt implements Serializable

Class com.sun.jmx.snmp.SnmpInt extends SnmpValue implements Serializable

Serialized Fields

value

 long value
This is where the value is stored. This long is signed.

Class com.sun.jmx.snmp.SnmpIpAddress extends SnmpOid implements Serializable

serialVersionUID: 8956237235607885096L

Class com.sun.jmx.snmp.SnmpNull extends SnmpValue implements Serializable

Serialized Fields

tag

 int tag
This is the tag of the NULL value. By default, it is the universal tag value.

Class com.sun.jmx.snmp.SnmpOid extends SnmpValue implements Serializable

serialVersionUID: 8956237235607885096L

Serialized Fields

components

 long[] components
The components' array.

componentCount

 int componentCount
The length of the components' array.

Class com.sun.jmx.snmp.SnmpOpaque extends SnmpString implements Serializable

Class com.sun.jmx.snmp.SnmpParameters extends SnmpParams implements Serializable

Serialized Fields

_protocolVersion

 int _protocolVersion
The protocol version. By default, the value is SNMP version 1.

_readCommunity

 String _readCommunity
The community to be used when issuing get operations.

_writeCommunity

 String _writeCommunity
The community to be used when issuing set operations.

_informCommunity

 String _informCommunity
The community to be used when issuing inform requests.

Class com.sun.jmx.snmp.SnmpPdu extends Object implements Serializable

Serialized Fields

type

 int type
PDU type. Types are defined in SnmpDefinitions.

version

 int version
Protocol version. Versions are defined in SnmpDefinitions.

varBindList

 SnmpVarBind[] varBindList
List of variables.

requestId

 int requestId
Request identifier. Note that this field is not used by SnmpPduTrap.

address

 InetAddress address
Source or destination address.

For an incoming PDU it's the source.
For an outgoing PDU it's the destination.


port

 int port
Source or destination port.

For an incoming PDU it's the source.
For an outgoing PDU it's the destination.

Class com.sun.jmx.snmp.SnmpPduBulk extends SnmpPduPacket implements Serializable

Serialized Fields

nonRepeaters

 int nonRepeaters
The non-repeaters value.

maxRepetitions

 int maxRepetitions
The max-repetitions value.

Class com.sun.jmx.snmp.SnmpPduFactoryBER extends Object implements Serializable

Class com.sun.jmx.snmp.SnmpPduPacket extends SnmpPdu implements Serializable

Serialized Fields

community

 byte[] community
The pdu community string.

Class com.sun.jmx.snmp.SnmpPduRequest extends SnmpPduPacket implements Serializable

Serialized Fields

errorStatus

 int errorStatus
Error status. Statuses are defined in SnmpDefinitions.

errorIndex

 int errorIndex
Error index. Remember that SNMP indices start from 1. Thus the corresponding SnmpVarBind is varBindList[errorIndex-1].

Class com.sun.jmx.snmp.SnmpPduTrap extends SnmpPduPacket implements Serializable

Serialized Fields

enterprise

 SnmpOid enterprise
Enterprise object identifier.

agentAddr

 SnmpIpAddress agentAddr
Agent address. If the agent address source was not an IPv4 one (eg : IPv6), this field is null.

genericTrap

 int genericTrap
Generic trap number.
The possible values are defined in SnmpDefinitions.

specificTrap

 int specificTrap
Specific trap number.

timeStamp

 long timeStamp
Time-stamp.

Class com.sun.jmx.snmp.SnmpPeer extends Object implements Serializable

Serialized Fields

maxVarBindLimit

 int maxVarBindLimit
The maximum number of variable bindings that can be packed into a request. The default value is 25.

portNum

 int portNum
Port number of the destination host. The default port is 161.

maxTries

 int maxTries
Number of times to try before giving up. The default number is 3.

timeout

 int timeout
The amount of time to wait for a response from the peer. The default amount of time is 3000 millisec.

pduFactory

 SnmpPduFactory pduFactory
The PDU factory. The default factory is an instance of SnmpPduFactoryBER.

_maxrtt

 long _maxrtt
The maximum round trip time for a packet with the peer.

_minrtt

 long _minrtt
The minimum round trip time for a packet with the peer.

_avgrtt

 long _avgrtt
The average round trip time for a packet with the peer.

_snmpParameter

 SnmpParams _snmpParameter
SNMP parameters for this peer are valid for all requests using this peer.

_devAddr

 InetAddress _devAddr
Internet address of the peer to be used when communicating with the peer.

maxSnmpPacketSize

 int maxSnmpPacketSize
Maximum packet size of the request PDU. This can be set by the user. If the request crosses this limit while encoding, the request is automatically split into multiple small request. Each of these requests will again be within this limit. The default value is (2 * 1024).

_devAddrList

 InetAddress[] _devAddrList
List of alternate addresses.

_addrIndex

 int _addrIndex
The index of address currently being used.

customPduFactory

 boolean customPduFactory

Class com.sun.jmx.snmp.SnmpScopedPduBulk extends SnmpScopedPduPacket implements Serializable

Serialized Fields

nonRepeaters

 int nonRepeaters
The non-repeaters value.

maxRepetitions

 int maxRepetitions
The max-repetitions value.

Class com.sun.jmx.snmp.SnmpScopedPduPacket extends SnmpPdu implements Serializable

Serialized Fields

msgMaxSize

 int msgMaxSize
Message max size the pdu sender can deal with.

msgId

 int msgId
Message identifier.

msgFlags

 byte msgFlags
Message flags. Reportable flag and security level.
 --  .... ...1   authFlag
 --  .... ..1.   privFlag
 --  .... .1..   reportableFlag
 --              Please observe:
 --  .... ..00   is OK, means noAuthNoPriv
 --  .... ..01   is OK, means authNoPriv
 --  .... ..10   reserved, must NOT be used.
 --  .... ..11   is OK, means authPriv

msgSecurityModel

 int msgSecurityModel
The security model the security sub system MUST use in order to deal with this pdu (eg: User based Security Model Id = 3).

contextEngineId

 byte[] contextEngineId
The context engine Id in which the pdu must be handled (Generaly the local engine Id).

contextName

 byte[] contextName
The context name in which the OID have to be interpreted.

securityParameters

 SnmpSecurityParameters securityParameters
The security parameters. This is an opaque member that is interpreted by the concerned security model.

Class com.sun.jmx.snmp.SnmpScopedPduRequest extends SnmpScopedPduPacket implements Serializable

Serialized Fields

errorStatus

 int errorStatus

errorIndex

 int errorIndex

Class com.sun.jmx.snmp.SnmpSecurityException extends Exception implements Serializable

serialVersionUID: -3387516993124229948L

Serialized Fields

list

 SnmpVarBind[] list
The current request varbind list.

status

 int status
The status of the exception. See SnmpDefinitions for possible values.

params

 SnmpSecurityParameters params
The current security model related security parameters.

contextEngineId

 byte[] contextEngineId
The current context engine Id.

contextName

 byte[] contextName
The current context name.

flags

 byte flags
The current flags.

Class com.sun.jmx.snmp.SnmpStatusException extends Exception implements Serializable

serialVersionUID: -3387516993124229948L

Serialized Fields

errorStatus

 int errorStatus
Status of the error.

errorIndex

 int errorIndex
Index of the error. If different from -1, indicates the index where the error occurs.

Class com.sun.jmx.snmp.SnmpString extends SnmpValue implements Serializable

Serialized Fields

value

 byte[] value
This is the bytes array of the string value.

Class com.sun.jmx.snmp.SnmpStringFixed extends SnmpString implements Serializable

Class com.sun.jmx.snmp.SnmpTimeticks extends SnmpUnsignedInt implements Serializable

serialVersionUID: -5486435222360030630L

Class com.sun.jmx.snmp.SnmpTooBigException extends Exception implements Serializable

serialVersionUID: -3387516993124229948L

Serialized Fields

varBindCount

 int varBindCount
The varBindCount.

Class com.sun.jmx.snmp.SnmpUnknownAccContrModelException extends SnmpUnknownModelException implements Serializable

serialVersionUID: -3387516993124229948L

Class com.sun.jmx.snmp.SnmpUnknownModelException extends Exception implements Serializable

serialVersionUID: -3387516993124229948L

Class com.sun.jmx.snmp.SnmpUnknownModelLcdException extends Exception implements Serializable

serialVersionUID: -3387516993124229948L

Class com.sun.jmx.snmp.SnmpUnknownMsgProcModelException extends SnmpUnknownModelException implements Serializable

serialVersionUID: -3387516993124229948L

Class com.sun.jmx.snmp.SnmpUnknownSecModelException extends SnmpUnknownModelException implements Serializable

serialVersionUID: -3387516993124229948L

Class com.sun.jmx.snmp.SnmpUnknownSubSystemException extends Exception implements Serializable

serialVersionUID: -3387516993124229948L

Class com.sun.jmx.snmp.SnmpUnsignedInt extends SnmpInt implements Serializable

Class com.sun.jmx.snmp.SnmpValue extends Object implements Serializable

Class com.sun.jmx.snmp.SnmpVarBind extends Object implements Serializable

Serialized Fields

oid

 SnmpOid oid
The OID of the SnmpVarBind. The default value is null.

Reserved for internal use:
As of Java Dynamic Management Kit 5.0, use instead getOid and setOid


value

 SnmpValue value
The value of the SnmpVarBind. The default value is null.

Reserved for internal use:
As of Java Dynamic Management Kit 5.0, use instead getSnmpValue and setSnmpValue


status

 int status
Indicates the status of the value in this SnmpVarBind. The default value is stValueUnspecified. This attribute is updated internally and should not be changed otherwise.

Class com.sun.jmx.snmp.SnmpVarBindList extends Vector<E> implements Serializable

serialVersionUID: -2767605614048989439L

Serialized Fields

identity

 String identity
A name given to the SnmpVarBindList. Useful for debugging. The default name is "VarBindList".

timestamp

 Timestamp timestamp
Timestamp when this SnmpVarBindList was updated. Valid only for SnmpGet and SnmpGetNext operations. SnmpTimestamp is null by default. Also, when the list is cloned without value the timestamp is not copied.

Class com.sun.jmx.snmp.Timestamp extends Object implements Serializable

Serialized Fields

sysUpTime

 long sysUpTime
The time (in hundreds of a second) since the network management portion of the system was last re-initialized.

crtime

 long crtime
A long representing the current date.

dateCache

 Date dateCache
A Date object representing the current date.

uptimeCache

 SnmpTimeticks uptimeCache
The SnmpTimeticks object corresponding to the TimeStamp object.

Package com.sun.jmx.snmp.IPAcl

Class com.sun.jmx.snmp.IPAcl.SnmpAcl extends Object implements Serializable

Serialized Fields

dbgTag

 String dbgTag

acl

 com.sun.jmx.snmp.IPAcl.AclImpl acl
Represents the Access Control List.

alwaysAuthorized

 boolean alwaysAuthorized
Flag indicating whether the access is always authorized.
This is the case if there is no flat file defined.

authorizedListFile

 String authorizedListFile
Represents the Access Control List flat file.

trapDestList

 Hashtable<K,V> trapDestList
Contains the hosts list for trap destination.

informDestList

 Hashtable<K,V> informDestList
Contains the hosts list for inform destination.

owner

 com.sun.jmx.snmp.IPAcl.PrincipalImpl owner

Package com.sun.jmx.snmp.agent

Class com.sun.jmx.snmp.agent.SnmpErrorHandlerAgent extends SnmpMibAgent implements Serializable

Serialized Fields

dbgTag

 String dbgTag

Class com.sun.jmx.snmp.agent.SnmpIndex extends Object implements Serializable

Serialized Fields

oids

 Vector<E> oids
The list of OIDs.

size

 int size
The number of elements in the index.

Class com.sun.jmx.snmp.agent.SnmpMib extends SnmpMibAgent implements Serializable

Serialized Fields

root

 SnmpMibOid root
The top element in the Mib tree.

Class com.sun.jmx.snmp.agent.SnmpMibAgent extends Object implements Serializable

Serialized Fields

mibName

 String mibName
The object name of the MIB.

server

 MBeanServer server
The reference to the MBean server.

adaptorName

 ObjectName adaptorName
The object name of the SNMP protocol adaptor.

Class com.sun.jmx.snmp.agent.SnmpMibEntry extends SnmpMibNode implements Serializable

Class com.sun.jmx.snmp.agent.SnmpMibGroup extends SnmpMibOid implements Serializable

Serialized Fields

subgroups

 Hashtable<K,V> subgroups

Class com.sun.jmx.snmp.agent.SnmpMibNode extends Object implements Serializable

Serialized Fields

varList

 int[] varList
Contains the list of variable identifiers.

Class com.sun.jmx.snmp.agent.SnmpMibOid extends SnmpMibNode implements Serializable

Serialized Fields

children

 com.sun.jmx.snmp.agent.SnmpMibOid.NonSyncVector children
Contains the list of sub nodes.

nbChildren

 int nbChildren
The number of sub nodes.

Class com.sun.jmx.snmp.agent.SnmpMibTable extends SnmpMibNode implements Serializable

Serialized Fields

nodeId

 int nodeId
The id of the contained entry object.

theMib

 SnmpMib theMib
The MIB to which the metadata is linked.

creationEnabled

 boolean creationEnabled
true if remote creation of entries via SET operations is enabled. [default value is false]

factory

 SnmpTableEntryFactory factory
The entry factory

size

 int size
The number of elements in the table.

tablecount

 int tablecount

tablesize

 int tablesize

tableoids

 SnmpOid[] tableoids

entries

 Vector<E> entries
The list of entries.

entrynames

 Vector<E> entrynames
The list of object names.

handbackTable

 Hashtable<K,V> handbackTable
Listener hastable containing the hand-back objects.

filterTable

 Hashtable<K,V> filterTable
Listener hastable containing the filter objects.

Class com.sun.jmx.snmp.agent.SnmpStandardObjectServer extends Object implements Serializable

Class com.sun.jmx.snmp.agent.SnmpTableEntryNotification extends Notification implements Serializable

serialVersionUID: 5832592016227890252L

Serialized Fields

entry

 Object entry
The entry object.

name

 ObjectName name
The entry name.
Since:
1.5

Class com.sun.jmx.snmp.agent.SnmpTableSupport extends Object implements Serializable

Serialized Fields

entries

 List<E> entries
The list of entries

meta

 SnmpMibTable meta
The associated metadata object

theMib

 SnmpMib theMib
The MIB to which this table belongs

registrationRequired

 boolean registrationRequired
This variable is initialized while binding this object to its corresponding meta object.

Package com.sun.jmx.snmp.daemon

Class com.sun.jmx.snmp.daemon.CommunicationException extends JMRuntimeException implements Serializable

serialVersionUID: -2499186113233316177L

Package com.sun.jmx.snmp.internal

Class com.sun.jmx.snmp.internal.SnmpEngineImpl extends Object implements Serializable

Serialized Fields

engineid

 SnmpEngineId engineid

factory

 SnmpEngineFactory factory

startTime

 long startTime

boot

 int boot

checkOid

 boolean checkOid

dbgTag

 String dbgTag

Package com.sun.mirror.apt

Class com.sun.mirror.apt.RoundCompleteEvent extends EventObject implements Serializable

serialVersionUID: 5516075349620653480L

Serialized Fields

rs

 RoundState rs

Package com.sun.mirror.type

Class com.sun.mirror.type.MirroredTypeException extends RuntimeException implements Serializable

serialVersionUID: 1L

Serialized Fields

name

 String name

Class com.sun.mirror.type.MirroredTypesException extends RuntimeException implements Serializable

serialVersionUID: 1L

Serialized Fields

names

 Collection names

Package com.sun.security.auth

Class com.sun.security.auth.NTDomainPrincipal extends Object implements Serializable

serialVersionUID: -4408637351440771220L

Serialized Fields

name

 String name

Class com.sun.security.auth.NTSid extends Object implements Serializable

serialVersionUID: 4412290580770249885L

Serialized Fields

sid

 String sid

Class com.sun.security.auth.NTSidDomainPrincipal extends NTSid implements Serializable

serialVersionUID: 5247810785821650912L

Class com.sun.security.auth.NTSidGroupPrincipal extends NTSid implements Serializable

serialVersionUID: -1373347438636198229L

Class com.sun.security.auth.NTSidPrimaryGroupPrincipal extends NTSid implements Serializable

serialVersionUID: 8011978367305190527L

Class com.sun.security.auth.NTSidUserPrincipal extends NTSid implements Serializable

serialVersionUID: -5573239889517749525L

Class com.sun.security.auth.NTUserPrincipal extends Object implements Serializable

serialVersionUID: -8737649811939033735L

Serialized Fields

name

 String name

Class com.sun.security.auth.SolarisNumericGroupPrincipal extends Object implements Serializable

serialVersionUID: 2345199581042573224L

Serialized Fields

name

 String name

primaryGroup

 boolean primaryGroup

Class com.sun.security.auth.SolarisNumericUserPrincipal extends Object implements Serializable

serialVersionUID: -3178578484679887104L

Serialized Fields

name

 String name

Class com.sun.security.auth.SolarisPrincipal extends Object implements Serializable

serialVersionUID: -7840670002439379038L

Serialized Fields

name

 String name

Class com.sun.security.auth.UnixNumericGroupPrincipal extends Object implements Serializable

serialVersionUID: 3941535899328403223L

Serialized Fields

name

 String name

primaryGroup

 boolean primaryGroup

Class com.sun.security.auth.UnixNumericUserPrincipal extends Object implements Serializable

serialVersionUID: -4329764253802397821L

Serialized Fields

name

 String name

Class com.sun.security.auth.UnixPrincipal extends Object implements Serializable

serialVersionUID: -2951667807323493631L

Serialized Fields

name

 String name

Class com.sun.security.auth.X500Principal extends Object implements Serializable

serialVersionUID: -8222422609431628648L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
            throws IOException,
                   NotActiveException,
                   ClassNotFoundException
Reads this object from a stream (i.e., deserializes it)

Serialized Fields

name

 String name

Package com.sun.syndication.feed

Class com.sun.syndication.feed.WireFeed extends Object implements Serializable

Serialized Fields

_objBean

 ObjectBean _objBean

_feedType

 String _feedType

_encoding

 String _encoding

_modules

 List<E> _modules

_foreignMarkup

 List<E> _foreignMarkup

Package com.sun.syndication.feed.atom

Class com.sun.syndication.feed.atom.Category extends Object implements Serializable

Serialized Fields

_objBean

 ObjectBean _objBean

_term

 String _term

_scheme

 String _scheme

_label

 String _label

Class com.sun.syndication.feed.atom.Content extends Object implements Serializable

Serialized Fields

_objBean

 ObjectBean _objBean

_type

 String _type

_value

 String _value

_src

 String _src

_mode

 String _mode

Class com.sun.syndication.feed.atom.Entry extends Object implements Serializable

Serialized Fields

_objBean

 ObjectBean _objBean

_xmlBase

 String _xmlBase

_authors

 List<E> _authors

_contributors

 List<E> _contributors

_categories

 List<E> _categories

_contents

 List<E> _contents

_id

 String _id

_published

 Date _published

_rights

 String _rights

_source

 Feed _source

_summary

 Content _summary

_title

 Content _title

_updated

 Date _updated

_alternateLinks

 List<E> _alternateLinks

_otherLinks

 List<E> _otherLinks

_foreignMarkup

 List<E> _foreignMarkup

_modules

 List<E> _modules

_created

 Date _created

Class com.sun.syndication.feed.atom.Feed extends WireFeed implements Serializable

Serialized Fields

_xmlBase

 String _xmlBase

_categories

 List<E> _categories

_authors

 List<E> _authors

_contributors

 List<E> _contributors

_generator

 Generator _generator

_icon

 String _icon

_id

 String _id

String _logo

_rights

 String _rights

_subtitle

 Content _subtitle

_title

 Content _title

_updated

 Date _updated

_alternateLinks

 List<E> _alternateLinks

_otherLinks

 List<E> _otherLinks

_entries

 List<E> _entries

_modules

 List<E> _modules

_info

 Content _info

_language

 String _language

Class com.sun.syndication.feed.atom.Generator extends Object implements Serializable

Serialized Fields

_objBean

 ObjectBean _objBean

_url

 String _url

_version

 String _version

_value

 String _value

Class com.sun.syndication.feed.atom.Link extends Object implements Serializable

Serialized Fields

_objBean

 ObjectBean _objBean

_href

 String _href

_rel

 String _rel

_type

 String _type

_hreflang

 String _hreflang

_title

 String _title

_length

 long _length

Class com.sun.syndication.feed.atom.Person extends Object implements Serializable

Serialized Fields

_objBean

 ObjectBean _objBean

_name

 String _name

_uri

 String _uri

_email

 String _email

Package com.sun.syndication.feed.impl

Class com.sun.syndication.feed.impl.CloneableBean extends Object implements Serializable

Serialized Fields

_obj

 Object _obj

_ignoreProperties

 Set<E> _ignoreProperties

Class com.sun.syndication.feed.impl.EqualsBean extends Object implements Serializable

Serialized Fields

_beanClass

 Class<T> _beanClass

_obj

 Object _obj

Class com.sun.syndication.feed.impl.ObjectBean extends Object implements Serializable

Serialized Fields

_equalsBean

 EqualsBean _equalsBean

_toStringBean

 ToStringBean _toStringBean

_cloneableBean

 CloneableBean _cloneableBean

Class com.sun.syndication.feed.impl.ToStringBean extends Object implements Serializable

Serialized Fields

_beanClass

 Class<T> _beanClass

_obj

 Object _obj

Package com.sun.syndication.feed.module

Class com.sun.syndication.feed.module.DCModuleImpl extends ModuleImpl implements Serializable

Serialized Fields

_objBean

 ObjectBean _objBean

_title

 List<E> _title

_creator

 List<E> _creator

_subject

 List<E> _subject

_description

 List<E> _description

_publisher

 List<E> _publisher

_contributors

 List<E> _contributors

_date

 List<E> _date

_type

 List<E> _type

_format

 List<E> _format

_identifier

 List<E> _identifier

_source

 List<E> _source

_language

 List<E> _language

_relation

 List<E> _relation

_coverage

 List<E> _coverage

_rights

 List<E> _rights

Class com.sun.syndication.feed.module.DCSubjectImpl extends Object implements Serializable

Serialized Fields

_objBean

 ObjectBean _objBean

_taxonomyUri

 String _taxonomyUri

_value

 String _value

Class com.sun.syndication.feed.module.Module extends Object implements Serializable

Class com.sun.syndication.feed.module.ModuleImpl extends Object implements Serializable

Serialized Fields

_objBean

 ObjectBean _objBean

_uri

 String _uri

Class com.sun.syndication.feed.module.SyModuleImpl extends ModuleImpl implements Serializable

Serialized Fields

_updatePeriod

 String _updatePeriod

_updateFrequency

 int _updateFrequency

_updateBase

 Date _updateBase

Package com.sun.syndication.feed.rss

Class com.sun.syndication.feed.rss.Category extends Object implements Serializable

Serialized Fields

_objBean

 ObjectBean _objBean

_domain

 String _domain

_value

 String _value

Class com.sun.syndication.feed.rss.Channel extends WireFeed implements Serializable

Serialized Fields

_title

 String _title

_description

 String _description

_link

 String _link

_uri

 String _uri

_image

 Image _image

_items

 List<E> _items

_textInput

 TextInput _textInput

_language

 String _language

_rating

 String _rating

_copyright

 String _copyright

_pubDate

 Date _pubDate

_lastBuildDate

 Date _lastBuildDate

_docs

 String _docs

_managingEditor

 String _managingEditor

_webMaster

 String _webMaster

_skipHours

 List<E> _skipHours

_skipDays

 List<E> _skipDays

_cloud

 Cloud _cloud

_categories

 List<E> _categories

_generator

 String _generator

_ttl

 int _ttl

_modules

 List<E> _modules

Class com.sun.syndication.feed.rss.Cloud extends Object implements Serializable

Serialized Fields

_objBean

 ObjectBean _objBean

_domain

 String _domain

_port

 int _port

_path

 String _path

_registerProcedure

 String _registerProcedure

_protocol

 String _protocol

Class com.sun.syndication.feed.rss.Content extends Object implements Serializable

Serialized Fields

_objBean

 ObjectBean _objBean

_type

 String _type

_value

 String _value

Class com.sun.syndication.feed.rss.Description extends Object implements Serializable

Serialized Fields

_objBean

 ObjectBean _objBean

_type

 String _type

_value

 String _value

Class com.sun.syndication.feed.rss.Enclosure extends Object implements Serializable

Serialized Fields

_objBean

 ObjectBean _objBean

_url

 String _url

_length

 long _length

_type

 String _type

Class com.sun.syndication.feed.rss.Guid extends Object implements Serializable

Serialized Fields

_objBean

 ObjectBean _objBean

_permaLink

 boolean _permaLink

_value

 String _value

Class com.sun.syndication.feed.rss.Image extends Object implements Serializable

Serialized Fields

_objBean

 ObjectBean _objBean

_title

 String _title

_url

 String _url

_link

 String _link

_width

 int _width

_height

 int _height

_description

 String _description

Class com.sun.syndication.feed.rss.Item extends Object implements Serializable

Serialized Fields

_objBean

 ObjectBean _objBean

_title

 String _title

_link

 String _link

_uri

 String _uri

_description

 Description _description

_content

 Content _content

_source

 Source _source

_enclosures

 List<E> _enclosures

_categories

 List<E> _categories

_guid

 Guid _guid

_comments

 String _comments

_author

 String _author

_pubDate

 Date _pubDate

_expirationDate

 Date _expirationDate

_modules

 List<E> _modules

_foreignMarkup

 List<E> _foreignMarkup

Class com.sun.syndication.feed.rss.Source extends Object implements Serializable

Serialized Fields

_objBean

 ObjectBean _objBean

_url

 String _url

_value

 String _value

Class com.sun.syndication.feed.rss.TextInput extends Object implements Serializable

Serialized Fields

_objBean

 ObjectBean _objBean

_title

 String _title

_description

 String _description

_name

 String _name

_link

 String _link

Package com.sun.syndication.feed.synd

Class com.sun.syndication.feed.synd.SyndCategoryImpl extends Object implements Serializable

Serialized Fields

_objBean

 ObjectBean _objBean

_subject

 DCSubject _subject

Class com.sun.syndication.feed.synd.SyndContentImpl extends Object implements Serializable

Serialized Fields

_objBean

 ObjectBean _objBean

_type

 String _type

_value

 String _value

_mode

 String _mode

Class com.sun.syndication.feed.synd.SyndEnclosureImpl extends Object implements Serializable

Serialized Fields

_objBean

 ObjectBean _objBean

_url

 String _url

_type

 String _type

_length

 long _length

Class com.sun.syndication.feed.synd.SyndEntryImpl extends Object implements Serializable

Serialized Fields

_objBean

 ObjectBean _objBean

_uri

 String _uri

_link

 String _link

_updatedDate

 Date _updatedDate

_title

 SyndContent _title

_description

 SyndContent _description

_links

 List<E> _links

_contents

 List<E> _contents

_modules

 List<E> _modules

_enclosures

 List<E> _enclosures

_authors

 List<E> _authors

_contributors

 List<E> _contributors

_foreignMarkup

 List<E> _foreignMarkup

_categories

 List<E> _categories

Class com.sun.syndication.feed.synd.SyndFeedImpl extends Object implements Serializable

Serialized Fields

_objBean

 ObjectBean _objBean

_encoding

 String _encoding

_uri

 String _uri

_title

 SyndContent _title

_description

 SyndContent _description

_feedType

 String _feedType

_link

 String _link

_links

 List<E> _links

_image

 SyndImage _image

_entries

 List<E> _entries

_modules

 List<E> _modules

_authors

 List<E> _authors

_contributors

 List<E> _contributors

_foreignMarkup

 List<E> _foreignMarkup

Class com.sun.syndication.feed.synd.SyndImageImpl extends Object implements Serializable

Serialized Fields

_objBean

 ObjectBean _objBean

_title

 String _title

_url

 String _url

_link

 String _link

_description

 String _description

Class com.sun.syndication.feed.synd.SyndLinkImpl extends Object implements Serializable

Serialized Fields

_objBean

 ObjectBean _objBean

_href

 String _href

_rel

 String _rel

_type

 String _type

_hreflang

 String _hreflang

_title

 String _title

_length

 long _length

Class com.sun.syndication.feed.synd.SyndPersonImpl extends Object implements Serializable

Serialized Fields

_objBean

 ObjectBean _objBean

_name

 String _name

_uri

 String _uri

_email

 String _email

Package com.sun.syndication.io

Class com.sun.syndication.io.FeedException extends Exception implements Serializable

serialVersionUID: -3387516993124229948L

Class com.sun.syndication.io.ParsingFeedException extends FeedException implements Serializable

serialVersionUID: -3387516993124229948L

Class com.sun.syndication.io.XmlReaderException extends IOException implements Serializable

serialVersionUID: -3387516993124229948L

Serialized Fields

_bomEncoding

 String _bomEncoding

_xmlGuessEncoding

 String _xmlGuessEncoding

_xmlEncoding

 String _xmlEncoding

_contentTypeMime

 String _contentTypeMime

_contentTypeEncoding

 String _contentTypeEncoding

_is

 InputStream _is

Package common

Class common.AssertionFailed extends RuntimeException implements Serializable

serialVersionUID: -7034897190745766939L

Package java.applet

Class java.applet.Applet extends Panel implements Serializable

serialVersionUID: -5836846270535785031L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
            throws ClassNotFoundException,
                   IOException,
                   HeadlessException
Read an applet from an object input stream.
Throws:
HeadlessException - if GraphicsEnvironment.isHeadless() returns true
Since:
1.4

Serialized Fields

accessibleContext

 AccessibleContext accessibleContext

Class java.applet.Applet.AccessibleApplet extends Panel.AccessibleAWTPanel implements Serializable

serialVersionUID: 8127374778187708896L

Package java.awt

Class java.awt.AWTError extends Error implements Serializable

serialVersionUID: -1819846354050686206L

Class java.awt.AWTEvent extends EventObject implements Serializable

serialVersionUID: -1825314779160409405L

Serialized Fields

bdata

 byte[] bdata

id

 int id
The event's id.
See Also:
AWTEvent.getID(), AWTEvent

consumed

 boolean consumed
Controls whether or not the event is sent back down to the peer once the source has processed it - false means it's sent to the peer; true means it's not. Semantic events always have a 'true' value since they were generated by the peer in response to a low-level event.

Class java.awt.AWTException extends Exception implements Serializable

serialVersionUID: -1900414231151323879L

Class java.awt.AWTKeyStroke extends Object implements Serializable

serialVersionUID: -6430539691155161871L

Serialization Methods

readResolve

protected Object readResolve()
            throws ObjectStreamException
Returns a cached instance of AWTKeyStroke (or a subclass of AWTKeyStroke) which is equal to this instance.
Returns:
a cached instance which is equal to this instance

Serialized Fields

keyChar

 char keyChar

keyCode

 int keyCode

modifiers

 int modifiers

onKeyRelease

 boolean onKeyRelease

Class java.awt.AWTPermission extends BasicPermission implements Serializable

serialVersionUID: 8890392402588814465L

Class java.awt.BorderLayout extends Object implements Serializable

serialVersionUID: -8658291919501921765L

Serialized Fields

hgap

 int hgap
Constructs a border layout with the horizontal gaps between components. The horizontal gap is specified by hgap.

vgap

 int vgap
Constructs a border layout with the vertical gaps between components. The vertical gap is specified by vgap.

north

 Component north
Constant to specify components location to be the north portion of the border layout.

west

 Component west
Constant to specify components location to be the west portion of the border layout.

east

 Component east
Constant to specify components location to be the east portion of the border layout.

south

 Component south
Constant to specify components location to be the south portion of the border layout.

center

 Component center
Constant to specify components location to be the center portion of the border layout.

firstLine

 Component firstLine
A relative positioning constant, that can be used instead of north, south, east, west or center. mixing the two types of constants can lead to unpredicable results. If you use both types, the relative constants will take precedence. For example, if you add components using both the NORTH and BEFORE_FIRST_LINE constants in a container whose orientation is LEFT_TO_RIGHT, only the BEFORE_FIRST_LINE will be layed out. This will be the same for lastLine, firstItem, lastItem.

lastLine

 Component lastLine
A relative positioning constant, that can be used instead of north, south, east, west or center. Please read Description for firstLine.

firstItem

 Component firstItem
A relative positioning constant, that can be used instead of north, south, east, west or center. Please read Description for firstLine.

lastItem

 Component lastItem
A relative positioning constant, that can be used instead of north, south, east, west or center. Please read Description for firstLine.

Class java.awt.Button extends Component implements Serializable

serialVersionUID: -8774683716313001058L

Serialization Methods

writeObject

private void writeObject(ObjectOutputStream s)
            throws IOException
Writes default serializable fields to stream. Writes a list of serializable ActionListeners as optional data. The non-serializable ActionListeners are detected and no attempt is made to serialize them.
Parameters:
s - the ObjectOutputStream to write

readObject

private void readObject(ObjectInputStream s)
            throws ClassNotFoundException,
                   IOException,
                   HeadlessException
Reads the ObjectInputStream and if it isn't null adds a listener to receive action events fired by the button. Unrecognized keys or values will be ignored.
Parameters:
s - the ObjectInputStream to read
Throws:
HeadlessException - if GraphicsEnvironment.isHeadless returns true

Serialized Fields

label

 String label
The button's label. This value may be null.
See Also:
getLabel(), setLabel()

actionCommand

 String actionCommand
The action to be performed once a button has been pressed. This value may be null.
See Also:
getActionCommand(), setActionCommand()

buttonSerializedDataVersion

 int buttonSerializedDataVersion

Class java.awt.Button.AccessibleAWTButton extends Component.AccessibleAWTComponent implements Serializable

serialVersionUID: -5932203980244017102L

Class java.awt.Canvas extends Component implements Serializable

serialVersionUID: -2284879212465893870L

Class java.awt.Canvas.AccessibleAWTCanvas extends Component.AccessibleAWTComponent implements Serializable

serialVersionUID: -6325592262103146699L

Class java.awt.CardLayout extends Object implements Serializable

serialVersionUID: -4328196481005934313L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
            throws ClassNotFoundException,
                   IOException
Reads serializable fields from stream.

writeObject

private void writeObject(ObjectOutputStream s)
            throws IOException
Writes serializable fields to stream.

Serialized Fields

vector

 Vector<E> vector

currentCard

 int currentCard

hgap

 int hgap

vgap

 int vgap

Class java.awt.Checkbox extends Component implements Serializable

serialVersionUID: 7270714317450821763L

Serialization Methods

writeObject

private void writeObject(ObjectOutputStream s)
            throws IOException
Writes default serializable fields to stream. Writes a list of serializable ItemListeners as optional data. The non-serializable ItemListeners are detected and no attempt is made to serialize them.
Parameters:
s - the ObjectOutputStream to write

readObject

private void readObject(ObjectInputStream s)
            throws ClassNotFoundException,
                   IOException,
                   HeadlessException
Reads the ObjectInputStream and if it isn't null adds a listener to receive item events fired by the Checkbox. Unrecognized keys or values will be ignored.
Parameters:
s - the ObjectInputStream to read
Throws:
HeadlessException - if GraphicsEnvironment.isHeadless returns true

Serialized Fields

label

 String label
The label of the Checkbox. This field can be null.
See Also:
Checkbox.getLabel(), setLabel(label)

state

 boolean state
The state of the Checkbox.
See Also:
Checkbox.getState(), setState(state)

group

 CheckboxGroup group
The check box group. This field can be null indicating that the checkbox is not a group checkbox.
See Also:
getCheckBoxGroup(), setCheckBoxGroup(CheckBoxGroup)

checkboxSerializedDataVersion

 int checkboxSerializedDataVersion

Class java.awt.Checkbox.AccessibleAWTCheckbox extends Component.AccessibleAWTComponent implements Serializable

serialVersionUID: 7881579233144754107L

Class java.awt.CheckboxGroup extends Object implements Serializable

serialVersionUID: 3729780091441768983L

Serialized Fields

selectedCheckbox

 Checkbox selectedCheckbox
The current choice.
See Also:
getCurrent(), setCurrent(Checkbox)

Class java.awt.CheckboxMenuItem extends MenuItem implements Serializable

serialVersionUID: 6190621106981774043L

Serialization Methods

writeObject

private void writeObject(ObjectOutputStream s)
            throws IOException
Writes default serializable fields to stream. Writes a list of serializable ItemListeners as optional data. The non-serializable ItemListeners are detected and no attempt is made to serialize them.
Parameters:
s - the ObjectOutputStream to write

readObject

private void readObject(ObjectInputStream s)
            throws ClassNotFoundException,
                   IOException

Serialized Fields

state

 boolean state
The state of a checkbox menu item

checkboxMenuItemSerializedDataVersion

 int checkboxMenuItemSerializedDataVersion

Class java.awt.CheckboxMenuItem.AccessibleAWTCheckboxMenuItem extends MenuItem.AccessibleAWTMenuItem implements Serializable

serialVersionUID: -1122642964303476L

Class java.awt.Choice extends Component implements Serializable

serialVersionUID: -4075310674757313071L

Serialization Methods

writeObject

private void writeObject(ObjectOutputStream s)
            throws IOException
Writes default serializable fields to stream. Writes a list of serializable ItemListeners as optional data. The non-serializable ItemListeners are detected and no attempt is made to serialize them.
Parameters:
s - the ObjectOutputStream to write

readObject

private void readObject(ObjectInputStream s)
            throws ClassNotFoundException,
                   IOException,
                   HeadlessException
Reads the ObjectInputStream and if it isn't null adds a listener to receive item events fired by the Choice item. Unrecognized keys or values will be ignored.
Parameters:
s - the ObjectInputStream to read
Throws:
HeadlessException - if GraphicsEnvironment.isHeadless returns true

Serialized Fields

pItems

 Vector<E> pItems
The items for the Choice. This can be a null value.

selectedIndex

 int selectedIndex
The index of the current choice for this Choice or -1 if nothing is selected.

choiceSerializedDataVersion

 int choiceSerializedDataVersion

Class java.awt.Choice.AccessibleAWTChoice extends Component.AccessibleAWTComponent implements Serializable

serialVersionUID: 7175603582428509322L

Class java.awt.Color extends Object implements Serializable

serialVersionUID: 118526816881161077L

Serialized Fields

value

 int value
The color value.

frgbvalue

 float[] frgbvalue
The color value in the default sRGB ColorSpace as float components (no alpha). If null after object construction, this must be an sRGB color constructed with 8-bit precision, so compute from the int color value.

fvalue

 float[] fvalue
The color value in the native ColorSpace as float components (no alpha). If null after object construction, this must be an sRGB color constructed with 8-bit precision, so compute from the int color value.

falpha

 float falpha
The alpha value as a float component. If frgbvalue is null, this is not valid data, so compute from the int color value.
See Also:
Color.getRGBComponents(float[]), getComponents

cs

 ColorSpace cs
The ColorSpace. If null, then it's default is sRGB.
See Also:
getColor, Color.getColorSpace(), getColorComponents

Class java.awt.Component extends Object implements Serializable

serialVersionUID: -7644114512714619750L

Serialization Methods

writeObject

private void writeObject(ObjectOutputStream s)
            throws IOException
Writes default serializable fields to stream. Writes a variety of serializable listeners as optional data. The non-serializable listeners are detected and no attempt is made to serialize them.
Parameters:
s - the ObjectOutputStream to write

readObject

private void readObject(ObjectInputStream s)
            throws ClassNotFoundException,
                   IOException
Reads the ObjectInputStream and if it isn't null adds a listener to receive a variety of events fired by the component. Unrecognized keys or values will be ignored.
Parameters:
s - the ObjectInputStream to read
See Also:
writeObject(ObjectOutputStream)

Serialized Fields

x

 int x
The x position of the component in the parent's coordinate system.
See Also:
getLocation

y

 int y
The y position of the component in the parent's coordinate system.
See Also:
getLocation

width

 int width
The width of the component.
See Also:
getSize

height

 int height
The height of the component.
See Also:
getSize

foreground

 Color foreground
The foreground color for this component. foreground can be null.

background

 Color background
The background color for this component. background can be null.

font

 Font font
The font used by this component. The font can be null.

peerFont

 Font peerFont
The font which the peer is currently using. (null if no peer exists.)

cursor

 Cursor cursor
The cursor displayed when pointer is over this component. This value can be null.

locale

 Locale locale
The locale for the component.

ignoreRepaint

 boolean ignoreRepaint
True when the object should ignore all repaint events.
Since:
1.4

visible

 boolean visible
True when the object is visible. An object that is not visible is not drawn on the screen.

enabled

 boolean enabled
True when the object is enabled. An object that is not enabled does not interact with the user.

valid

 boolean valid
True when the object is valid. An invalid object needs to be layed out. This flag is set to false when the object size is changed.

dropTarget

 DropTarget dropTarget
The DropTarget associated with this component.
Since:
1.2

popups

 Vector<E> popups

name

 String name
A component's name. This field can be null.

nameExplicitlySet

 boolean nameExplicitlySet
A bool to determine whether the name has been set explicitly. nameExplicitlySet will be false if the name has not been set and true if it has.

focusable

 boolean focusable
Indicates whether this Component can be focused.
Since:
1.4

isFocusTraversableOverridden

 int isFocusTraversableOverridden
Tracks whether this Component is relying on default focus travesability.
Since:
1.4

focusTraversalKeys

 Set<E>[] focusTraversalKeys
The focus traversal keys. These keys will generate focus traversal behavior for Components for which focus traversal keys are enabled. If a value of null is specified for a traversal key, this Component inherits that traversal key from its parent. If all ancestors of this Component have null specified for that traversal key, then the current KeyboardFocusManager's default traversal key is used.
Since:
1.4

focusTraversalKeysEnabled

 boolean focusTraversalKeysEnabled
Indicates whether focus traversal keys are enabled for this Component. Components for which focus traversal keys are disabled receive key events for focus traversal keys. Components for which focus traversal keys are enabled do not see these events; instead, the events are automatically converted to traversal operations.
Since:
1.4

minSize

 Dimension minSize
Minimum size. (This field perhaps should have been transient).

minSizeSet

 boolean minSizeSet
Whether or not setMinimumSize has been invoked with a non-null value.

prefSize

 Dimension prefSize
Preferred size. (This field perhaps should have been transient).

prefSizeSet

 boolean prefSizeSet
Whether or not setPreferredSize has been invoked with a non-null value.

maxSize

 Dimension maxSize
Maximum size

maxSizeSet

 boolean maxSizeSet
Whether or not setMaximumSize has been invoked with a non-null value.

newEventsOnly

 boolean newEventsOnly
newEventsOnly will be true if the event is one of the event types enabled for the component. It will then allow for normal processing to continue. If it is false the event is passed to the component's parent and up the ancestor tree until the event has been consumed.

eventMask

 long eventMask
The eventMask is ONLY set by subclasses via enableEvents. The mask should NOT be set when listeners are registered so that we can distinguish the difference between when listeners request events and subclasses request them. One bit is used to indicate whether input methods are enabled; this bit is set by enableInputMethods and is on by default.

changeSupport

 PropertyChangeSupport changeSupport
If any PropertyChangeListeners have been registered, the changeSupport field describes them.
Since:
1.2
See Also:
addPropertyChangeListener, removePropertyChangeListener, firePropertyChange

isPacked

 boolean isPacked

boundsOp

 int boundsOp
Pseudoparameter for direct Geometry API (setLocation, setBounds setSize to signal setBounds what's changing. Should be used under TreeLock. This is only needed due to the inability to change the cross-calling order of public and deprecated methods.

componentSerializedDataVersion

 int componentSerializedDataVersion
Component Serialized Data Version.

accessibleContext

 AccessibleContext accessibleContext

Class java.awt.Component.AccessibleAWTComponent extends AccessibleContext implements Serializable

serialVersionUID: 642321655757800191L

Serialized Fields

accessibleAWTComponentHandler

 ComponentListener accessibleAWTComponentHandler

accessibleAWTFocusHandler

 FocusListener accessibleAWTFocusHandler

Class java.awt.ComponentOrientation extends Object implements Serializable

Serialized Fields

orientation

 int orientation

Class java.awt.Container extends Component implements Serializable

serialVersionUID: 4613797578919906343L

Serialization Methods

writeObject

private void writeObject(ObjectOutputStream s)
            throws IOException
Serializes this Container to the specified ObjectOutputStream.
  • Writes default serializable fields to the stream.
  • Writes a list of serializable ContainerListener(s) as optional data. The non-serializable ContainerListner(s) are detected and no attempt is made to serialize them.
  • Write this Container's FocusTraversalPolicy if and only if it is Serializable; otherwise, null is written.
Parameters:
s - the ObjectOutputStream to write

readObject

private void readObject(ObjectInputStream s)
            throws ClassNotFoundException,
                   IOException
Deserializes this Container from the specified ObjectInputStream.
  • Reads default serializable fields from the stream.
  • Reads a list of serializable ContainerListener(s) as optional data. If the list is null, no Listeners are installed.
  • Reads this Container's FocusTraversalPolicy, which may be null, as optional data.
Parameters:
s - the ObjectInputStream to read
See Also:
Container.addContainerListener(ContainerListener), writeObject(ObjectOutputStream)

Serialized Fields

ncomponents

 int ncomponents
The number of components in this container. This value can be null.

component

 Component[] component
The components in this container.

layoutMgr

 LayoutManager layoutMgr
Layout manager for this container.

dispatcher

 java.awt.LightweightDispatcher dispatcher
Event router for lightweight components. If this container is native, this dispatcher takes care of forwarding and retargeting the events to lightweight components contained (if any).

focusCycleRoot

 boolean focusCycleRoot
Indicates whether this Component is the root of a focus traversal cycle. Once focus enters a traversal cycle, typically it cannot leave it via focus traversal unless one of the up- or down-cycle keys is pressed. Normal traversal is limited to this Container, and all of this Container's descendants that are not descendants of inferior focus cycle roots.
Since:
1.4
See Also:
Container.setFocusCycleRoot(boolean), isFocusCycleRoot

focusTraversalPolicyProvider

 boolean focusTraversalPolicyProvider
Stores the value of focusTraversalPolicyProvider property.
Since:
1.5

containerSerializedDataVersion

 int containerSerializedDataVersion
Container Serial Data Version.

Class java.awt.Container.AccessibleAWTContainer extends Component.AccessibleAWTComponent implements Serializable

serialVersionUID: 5081320404842566097L

Serialized Fields

accessibleContainerHandler

 ContainerListener accessibleContainerHandler

Class java.awt.ContainerOrderFocusTraversalPolicy extends FocusTraversalPolicy implements Serializable

serialVersionUID: 486933713763926351L

Serialized Fields

implicitDownCycleTraversal

 boolean implicitDownCycleTraversal

Class java.awt.Cursor extends Object implements Serializable

serialVersionUID: 8028237497568985504L

Serialized Fields

type

 int type
The chosen cursor type initially set to the DEFAULT_CURSOR.

name

 String name
The user-visible name of the cursor.

Class java.awt.DefaultFocusTraversalPolicy extends ContainerOrderFocusTraversalPolicy implements Serializable

serialVersionUID: 486933713763926351L

Class java.awt.Dialog extends Window implements Serializable

serialVersionUID: 5920926903803293709L

Serialized Fields

resizable

 boolean resizable
A dialog's resizable property. Will be true if the Dialog is to be resizable, otherwise it will be false.

undecorated

 boolean undecorated
This field indicates whether the dialog is undecorated. This property can only be changed while the dialog is not displayable. undecorated will be true if the dialog is undecorated, otherwise it will be false.
Since:
1.4

modal

 boolean modal
Will be true if the Dialog is modal, otherwise the dialog will be modeless. A modal Dialog grabs all the input to the owner frame from the user.

title

 String title
Specifies the title of the Dialog. This field can be null.

Class java.awt.Dialog.AccessibleAWTDialog extends Window.AccessibleAWTWindow implements Serializable

serialVersionUID: 4837230331833941201L

Class java.awt.Dimension extends Dimension2D implements Serializable

serialVersionUID: 4723952579491349524L

Serialized Fields

width

 int width
The width dimension; negative values can be used.
See Also:
Dimension.getSize(), setSize
Usages and Demos :

View More Examples of width
   1: import java.awt.Rectangle;
   2: import java.awt.Dimension;
   3: 
   4:         ...
   5: 
   6:     public Dimension getPreferredSize() {
   7:         ...
   8:          Dimension d = getPreferredScrollableViewportSize();
   9:         ...
  10:          return new Dimension((int)(zoomFactor*d.width), (int)(zoomFactor*d.height));

View Full Code Here
   1:         Toolkit kit = Toolkit.getDefaultToolkit();
   2:         Dimension screenSize = kit.getScreenSize();
   3: 
   4:         ...
   5:         lblObject = new JLabel("Selected Object(s):", SwingConstants.LEADING);
   6:         lblObject.setPreferredSize(new Dimension((int) (0.6 * screenSize.width),
   7:                 22));
   8:         ...
   9:         lblSize = new JLabel("Size:", SwingConstants.LEADING);
  10:         lblSize.setPreferredSize(new Dimension((int) (0.2 * screenSize.width),
  11:                 22));
  12:         ...
  13:         lblDesc = new JLabel("Description:", SwingConstants.LEADING);
  14:         lblDesc.setPreferredSize(new Dimension((int) (0.2 * screenSize.width),

View Full Code Here
   1:    }else{
   2:      dm = (Dimension) value;
   3:    }
   4:         ...
   5:     }else{
   6:       return dm.width + "; " + dm.height;
   7:     }
   8:         ...
   9:     ar[1]=ar[1].substring(1);
  10:     dm=new Dimension((new Integer(ar[0])).intValue(),(new Integer(ar[1])).intValue());
  11:     firePropertyChange();
  12:         ...
  13:   public String getScript(Object val) {
  14:     Dimension d = (Dimension)val;

View Full Code Here
   1: 
   2:    public Dimension getMinimumSize()
   3:    {
   4:         ...
   5:       Dimension size = getPreferredSize();
   6:         ...
   7:       return (new Dimension((int) (size.width*0.7), 
   8:                             (int) (size.height * 0.7)));

View Full Code Here
   1: 
   2:    public Dimension getMinimumSize()
   3:    {
   4:         ...
   5:       Dimension size = getPreferredSize();
   6:         ...
   7:       return (new Dimension((int) (size.width*0.7), 
   8:                             (int) (size.height * 0.7)));

View Full Code Here

height

 int height
The height dimension; negative values can be used.
See Also:
Dimension.getSize(), setSize
Usages and Demos :

View More Examples of height
   1: import java.awt.Rectangle;
   2: import java.awt.Dimension;
   3: 
   4:         ...
   5: 
   6:     public Dimension getPreferredSize() {
   7:         ...
   8:          Dimension d = getPreferredScrollableViewportSize();
   9:         ...
  10:          return new Dimension((int)(zoomFactor*d.width), (int)(zoomFactor*d.height));

View Full Code Here
   1: 
   2: import java.awt.Dimension;
   3: 
   4:         ...
   5: 
   6:     private final static Dimension PREFERRED_HORIZONTAL_SIZE = new Dimension(146, 17);  
   7:     
   8:         ...
   9:             if (getOrientation() == JProgressBar.HORIZONTAL) {
  10:                 d = new Dimension(Short.MAX_VALUE, PREFERRED_HORIZONTAL_SIZE.height);
  11:             } else {
  12:         ...
  13:             if (getOrientation() == JProgressBar.HORIZONTAL) {
  14:                 d = new Dimension(10, PREFERRED_HORIZONTAL_SIZE.height);

View Full Code Here
   1:    }else{
   2:      dm = (Dimension) value;
   3:    }
   4:         ...
   5:     }else{
   6:       return dm.width + "; " + dm.height;
   7:     }
   8:         ...
   9:     ar[1]=ar[1].substring(1);
  10:     dm=new Dimension((new Integer(ar[0])).intValue(),(new Integer(ar[1])).intValue());
  11:     firePropertyChange();
  12:         ...
  13:   public String getScript(Object val) {
  14:     Dimension d = (Dimension)val;

View Full Code Here
   1:         
   2:     Dimension screenSize=clientPlot.getToolkit().getScreenSize();
   3:     int plotCount=size();
   4:         ...
   5:         double jump=((double) screenSize.width)/plotCount;
   6:         Dimension newDimension=new Dimension((int) jump,screenSize.height);
   7:         
   8:         ...
   9:         
  10:         double jump=((double) screenSize.height)/plotCount;
  11:         ...
  12:         Dimension newDimension=new Dimension(screenSize.width,(int) jump);

View Full Code Here
   1: import java.awt.BorderLayout;
   2: import java.awt.Dimension;
   3: import java.awt.FlowLayout;
   4:         ...
   5:             @Override
   6:             public Dimension getPreferredSize() {
   7:         ...
   8:                 Dimension dim = super.getPreferredSize();
   9:         ...
  10:                 return new Dimension(2 * dim.width, dim.height);

View Full Code Here

Class java.awt.Event extends Object implements Serializable

serialVersionUID: 5488922509400504703L

Serialized Fields

target

 Object target
The target component. This indicates the component over which the event occurred or with which the event is associated. This object has been replaced by AWTEvent.getSource()
Usages and Demos :

View More Examples of target
   1: 
   2: public boolean processEvent(Event e)
   3: {
   4:         ...
   5:   Object target = e.target;
   6:                   
   7:         ...
   8:   if (e.id == Event.ACTION_EVENT){
   9:     if (target == plus)

View Full Code Here
   1:             
   2:         public boolean action(Event anEvent, Object anObject)
   3:             {if(wasRunTestsPressed(anEvent)) 
   4:         ...
   5:             
   6:         private boolean wasRunTestsPressed(Event anEvent)
   7:         ...
   8:             {return anEvent.target == runTestsButton;};}    

View Full Code Here
   1: import java.awt.PopupMenu;
   2: import java.awt.Event;
   3: import java.awt.peer.PopupMenuPeer;
   4:         ...
   5: 
   6:   public void show (Event e)
   7:   {
   8:         ...
   9:     if (!(e.target instanceof Component))
  10:         ...
  11:       throw new IllegalArgumentException("Expecting a component Event target!");

View Full Code Here
   1: import java.awt.Component;
   2: import java.awt.Event;
   3: import java.awt.FlowLayout;
   4:         ...
   5: 
   6:   public boolean action(Event theEvent, Object theObject) {
   7:     if (null == widget) {
   8:         ...
   9:     }
  10:     if (theEvent.target == this.fontNameChoice) {
  11:         ...
  12:       label.setFontName(((Choice)theEvent.target).getSelectedItem());

View Full Code Here
   1:     
   2:     public boolean handleEvent(Event evt) {
   3:         switch (evt.id) {
   4:         ...
   5:     case Event.SCROLL_LINE_UP:
   6:         ...
   7:     case Event.SCROLL_LINE_DOWN:
   8:     case Event.SCROLL_PAGE_UP:
   9:         ...
  10:             if (win) {
  11:                 if (evt.target == winScrollbar)

View Full Code Here

when

 long when
The time stamp. Replaced by InputEvent.getWhen().

id

 int id
Indicates which type of event the event is, and which other Event variables are relevant for the event. This has been replaced by AWTEvent.getID()
Usages and Demos :

View More Examples of id
   1:   }
   2:   public boolean handleEvent(Event evt) {
   3:         ...
   4:     if(evt.id == Event.LIST_SELECT ||
   5:         ...
   6:        evt.id == Event.LIST_DESELECT) {
   7:       if(evt.target.equals(lst)) {
   8:         ...
   9:   }
  10:   public boolean action(Event evt, Object arg) {

View Full Code Here
   1:             boolean    m_bGotFocus = false;
   2:             Event m_evtList[];
   3:             public void init() {
   4:         ...
   5:                 resize(400,300);
   6:                 m_evtList = new Event[10];
   7:             }
   8:         ...
   9:             }
  10:             public void showEvent( Graphics g, Event evt, int row ) {
  11:                 Font font = new Font("TimesRoman", Font.PLAIN, 12);
  12:         ...
  13:                 g.drawString(outputStr, 20, row);
  14:                 if( evt.id == evt.KEY_PRESS || evt.id == evt.KEY_ACTION )

View Full Code Here
   1: 
   2:    import java.awt.Event;
   3:    import java.awt.Component;
   4:         ...
   5:    
   6:       private Event[] eventQueue_ = null;
   7:       private int eventQueueHead_ = 0, eventQueueTail_ = 0;
   8:         ...
   9:          user_ = user;
  10:          eventQueue_ = new Event[eventQueueSize_ + 1];
  11:       
  12:         ...
  13:             {
  14:                int newid = eventQueue_[eventQueueHead_].id;

View Full Code Here
   1:     
   2:     public boolean postEvent(Event evt) {
   3:         ...
   4:         if (evt.id == Event.WINDOW_ICONIFY ||
   5:         ...
   6:         evt.id == Event.WINDOW_DEICONIFY)
   7:         return true;
   8:         ...
   9:     
  10:     public boolean mouseDown(Event evt, int x, int y) {

View Full Code Here
   1: 
   2:   public boolean mouseDown(Event event, int x, int y) {
   3:     mouseIsDown = true;
   4:         ...
   5: 
   6:   public boolean mouseUp(Event event, int x, int y) {
   7:     mouseIsDown = false;
   8:         ...
   9:       paint(getGraphics());
  10:       event.id = Event.ACTION_EVENT;
  11:       event.arg = (Object)image;

View Full Code Here

x

 int x
The x coordinate of the event. Replaced by MouseEvent.getX()
Usages and Demos :

View More Examples of x
   1: 
   2:   public void show(Event _evt)
   3:   {
   4:         ...
   5:     Component c=(Component)t.getPeer();
   6:     System.err.println("LMP: show popup menu at "+_evt.x+","+_evt.y);
   7:         ...
   8:     show(c,_evt.x,_evt.y);

View Full Code Here
   1: import java.awt.PopupMenu;
   2: import java.awt.Event;
   3: import java.awt.peer.PopupMenuPeer;
   4:         ...
   5: 
   6:   public void show (Event e)
   7:   {
   8:         ...
   9:     if (!(e.target instanceof Component))
  10:       throw new IllegalArgumentException("Expecting a component Event target!");
  11:         ...
  12:     show((Component)e.target, e.x, e.y);

View Full Code Here
   1: 
   2:     public boolean handleEvent(Event e) {
   3:     switch (e.id) {
   4:         ...
   5:       case Event.WINDOW_DESTROY:
   6:         System.exit(0);
   7:         ...
   8: 
   9:     public boolean handleEvent(Event e) {
  10:     switch (e.id) {
  11:         ...
  12:           case LINES:
  13:         x1 = e.x;

View Full Code Here
   1:             switch (e.id) {
   2:               case Event.WINDOW_DESTROY:
   3:                 System.exit(0);
   4:         ...
   5:                 switch (mode) {
   6:                     x1 = e.x;    y1 = e.y;    x2 = -1;
   7:                     break;
   8:         ...
   9:                     colors.addElement(getForeground());
  10:                     lines.addElement(new Rectangle(e.x, e.y, -1, -1));
  11:         ...
  12:                     x1 = e.x;    y1 = e.y;

View Full Code Here
   1:     
   2:     public boolean mouseDown(Event evt) {
   3:         if (canvas == null)
   4:         ...
   5:             dragging = true;
   6:             dragX = evt.x + canvas.columnX(column);
   7:             dragY = evt.y + canvas.rowY(row);
   8:         ...
   9:     
  10:     public boolean handleEvent(Event evt) {
  11:         if (canvas == null)
  12:         ...
  13:         
  14:         if (evt.target == menu && evt.id == Event.LIST_SELECT) {

View Full Code Here

y

 int y
The y coordinate of the event. Replaced by MouseEvent.getY()
Usages and Demos :

View More Examples of y
   1: 
   2: import java.awt.Event;
   3: 
   4:         ...
   5:         if (msg.isAWT)
   6:             return handleEvent(msg, (Event)msg.arg);
   7:         else
   8:         ...
   9:     
  10:     public boolean handleEvent(Message msg, Event evt) {
  11:         switch (evt.id) {
  12:         ...
  13:     case Event.MOUSE_ENTER:
  14:             return mouseEnter(msg, evt, evt.x, evt.y);

View Full Code Here
   1: 
   2:     public boolean handleEvent(Event e) {
   3:     switch (e.id) {
   4:         ...
   5:       case Event.WINDOW_DESTROY:
   6:         System.exit(0);
   7:         ...
   8: 
   9:     public boolean handleEvent(Event e) {
  10:     switch (e.id) {
  11:         ...
  12:         x1 = e.x;
  13:         y1 = e.y;

View Full Code Here
   1:             switch (e.id) {
   2:               case Event.WINDOW_DESTROY:
   3:                 System.exit(0);
   4:         ...
   5:                 switch (mode) {
   6:                     x1 = e.x;    y1 = e.y;    x2 = -1;
   7:                     break;
   8:         ...
   9:                     colors.addElement(getForeground());
  10:                     lines.addElement(new Rectangle(e.x, e.y, -1, -1));
  11:         ...
  12:                     x1 = e.x;    y1 = e.y;

View Full Code Here
   1:     
   2:     public boolean mouseDown(Event evt) {
   3:         if (canvas == null)
   4:         ...
   5:             dragX = evt.x + canvas.columnX(column);
   6:             dragY = evt.y + canvas.rowY(row);
   7:             return true;
   8:         ...
   9:     
  10:     public boolean handleEvent(Event evt) {
  11:         if (canvas == null)
  12:         ...
  13:         
  14:         if (evt.target == menu && evt.id == Event.LIST_SELECT) {

View Full Code Here
   1: import java.awt.*;
   2: import java.awt.event.ActionEvent;
   3: import java.applet.*;
   4:         ...
   5:           r.x = 0;
   6:           r.y = 0;
   7: 
   8:         ...
   9:              g.setColor(getBackground());
  10:              g.fillRect(r.x,r.y,r.width,r.height);
  11:              g.setColor(c);
  12:         ...
  13: 
  14:    public boolean keyDown(Event e, int key) {

View Full Code Here

key

 int key
The key code of the key that was pressed in a keyboard event. This has been replaced by KeyEvent.getKeyCode()
Usages and Demos :

View More Examples of key
   1:             boolean    m_bGotFocus = false;
   2:             Event m_evtList[];
   3:             public void init() {
   4:         ...
   5:                 resize(400,300);
   6:                 m_evtList = new Event[10];
   7:             }
   8:         ...
   9:             }
  10:             public void showEvent( Graphics g, Event evt, int row ) {
  11:                 Font font = new Font("TimesRoman", Font.PLAIN, 12);
  12:         ...
  13:                 g.setFont(font);
  14:                 if( evt.key == 32 )

View Full Code Here
   1: 
   2: import java.awt.Event; 
   3: import com.swfm.mica.util.FastVector; 
   4:         ...
   5:         this.type = type;
   6:         this.key = key;
   7:         this.modifiers = modifiers;
   8:         ...
   9:         type        = src.type;
  10:         key        = src.key;
  11:         modifiers    = src.modifiers;
  12:         ...
  13:         type        = src.type;
  14:         key        = src.key;

View Full Code Here
   1:     int mouseX, mouseY;
   2:     public boolean handleEvent(Event event) {
   3:         
   4:         ...
   5:         switch (event.id) {
   6:             case Event.ACTION_EVENT:
   7:         ...
   8:                 if (flash) {
   9:                     String s = String.valueOf((char) event.key);
  10:                     Utils.dPrint("Got a key: "+s);
  11:         ...
  12:             case Event.KEY_PRESS:
  13:                 switch((char) event.key) {

View Full Code Here

modifiers

 int modifiers
The state of the modifier keys. This is replaced with InputEvent.getModifiers() In java 1.1 MouseEvent and KeyEvent are subclasses of InputEvent.
Usages and Demos :

View More Examples of modifiers
   1:             boolean    m_bGotFocus = false;
   2:             Event m_evtList[];
   3:             public void init() {
   4:         ...
   5:                 resize(400,300);
   6:                 m_evtList = new Event[10];
   7:             }
   8:         ...
   9:             }
  10:             public void showEvent( Graphics g, Event evt, int row ) {
  11:                 Font font = new Font("TimesRoman", Font.PLAIN, 12);
  12:         ...
  13:                     outputStr += "META ";
  14:                 if( (evt.modifiers & Event.ALT_MASK) != 0 )

View Full Code Here
   1: 
   2: import java.awt.Event; 
   3: import com.swfm.mica.util.FastVector; 
   4:         ...
   5:         this.key = key;
   6:         this.modifiers = modifiers;
   7: 
   8:         ...
   9:         key        = src.key;
  10:         modifiers    = src.modifiers;
  11:         mouseButtonState= src.mouseButtonState;
  12:         ...
  13:         key        = src.key;
  14:         modifiers    = src.modifiers;

View Full Code Here

clickCount

 int clickCount
For MOUSE_DOWN events, this field indicates the number of consecutive clicks. For other events, its value is 0. This field has been replaced by MouseEvent.getClickCount().
See Also:
java.awt.event.MouseEvent.getClickCount().
Usages and Demos :

View More Examples of clickCount
   1:     
   2:     public boolean handleEvent(Event evt) {
   3:         if (editchoice == null && justCancelled &&
   4:         ...
   5:         evt.id == Event.MOUSE_DOWN) {
   6:             justCancelled = false;
   7:         ...
   8:             cancelApply = false;
   9:             parent.postEvent(new Event(parent, ColumnList.APPLY_EDIT,
  10:                        evt.arg));
  11:         ...
  12:                           e.modifiers, e.arg);
  13:                         evt.clickCount = e.clickCount;

View Full Code Here

arg

 Object arg
An arbitrary argument of the event. The value of this field depends on the type of event. arg has been replaced by event specific property.
Usages and Demos :

View More Examples of arg
   1:     
   2:     public boolean handleEvent (Event evt) {
   3:     
   4:         ...
   5:      if (evt.arg != null) {
   6:         ...
   7:         String val = (String) evt.arg;
   8:         if (val.equals("Next")) {

View Full Code Here
   1: 
   2:   public boolean handleEvent(Event evt) {
   3:     switch(evt.id) {
   4:         ...
   5:     case Event.ACTION_EVENT:
   6: 
   7:         ...
   8:       if (evt.target instanceof Button) {
   9:     String value = (String)evt.arg;
  10: 
  11:         ...
  12:       if (evt.target instanceof MenuItem) {
  13:     String val = (String) evt.arg;

View Full Code Here
   1:    import java.awt.Color;
   2:    import java.awt.Event;
   3:    import java.awt.Point;
   4:         ...
   5:    
   6:       public boolean mouseDown(Event e, int x, int y)
   7:       {
   8:         ...
   9:    
  10:       public boolean mouseDrag(Event e, int x, int y)
  11:       {
  12:         ...
  13:          {
  14:             super.handleEvent((Event)e.arg);

View Full Code Here
   1: 
   2:   public boolean mouseDown(Event event, int x, int y) {
   3:     mouseIsDown = true;
   4:         ...
   5: 
   6:   public boolean mouseUp(Event event, int x, int y) {
   7:     mouseIsDown = false;
   8:         ...
   9:       event.id = Event.ACTION_EVENT;
  10:       event.arg = (Object)image;
  11:         ...
  12:       return(action(event, event.arg));

View Full Code Here
   1:    import java.awt.Color;
   2:    import java.awt.Event;
   3:    import java.awt.Point;
   4:         ...
   5:    
   6:       public boolean mouseDown(Event e, int x, int y)
   7:       {
   8:         ...
   9:    
  10:       public boolean mouseDrag(Event e, int x, int y)
  11:       {
  12:         ...
  13:          {
  14:             super.handleEvent((Event)e.arg);

View Full Code Here

evt

 Event evt
The next event. This field is set when putting events into a linked list. This has been replaced by EventQueue.
See Also:
EventQueue

consumed

 boolean consumed
This field controls whether or not the event is sent back down to the peer once the target has processed it - false means it's sent to the peer, true means it's not.
See Also:
isConsumed()

Class java.awt.FileDialog extends Dialog implements Serializable

serialVersionUID: 5035145889651310422L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
            throws ClassNotFoundException,
                   IOException
Reads the ObjectInputStream and performs a backwards compatibility check by converting either a dir or a file equal to an empty string to null.
Parameters:
s - the ObjectInputStream to read

Serialized Fields

mode

 int mode

dir

 String dir

file

 String file

filter

 FilenameFilter filter

Class java.awt.FlowLayout extends Object implements Serializable

serialVersionUID: -7262534875583282631L

Serialization Methods

readObject

private void readObject(ObjectInputStream stream)
            throws IOException,
                   ClassNotFoundException
Reads this object out of a serialization stream, handling objects written by older versions of the class that didn't contain all of the fields we use now..

Serialized Fields

align

 int align
align is the property that determines how each row distributes empty space. It can be one of the following values:
    LEFTRIGHTCENTERLEADINGTRAILING

newAlign

 int newAlign
newAlign is the property that determines how each row distributes empty space for the Java 2 platform, v1.2 and greater. It can be one of the following three values:
    LEFTRIGHTCENTERLEADINGTRAILING
Since:
1.2

hgap

 int hgap
The flow layout manager allows a seperation of components with gaps. The horizontal gap will specify the space between components and between the components and the borders of the Container.

vgap

 int vgap
The flow layout manager allows a seperation of components with gaps. The vertical gap will specify the space between rows and between the the rows and the borders of the Container.

serialVersionOnStream

 int serialVersionOnStream
This represent the currentSerialVersion which is bein used. It will be one of two values : 0 versions before Java 2 platform v1.2.. 1 versions after Java 2 platform v1.2..
Since:
1.2

Class java.awt.Font extends Object implements Serializable

serialVersionUID: -4206021311591459213L

Serialization Methods

writeObject

private void writeObject(ObjectOutputStream s)
            throws ClassNotFoundException,
                   IOException
Writes default serializable fields to a stream.
Parameters:
s - the ObjectOutputStream to write
See Also:
AWTEventMulticaster.save(ObjectOutputStream,String,EventListener), readObject(java.io.ObjectInputStream)

readObject

private void readObject(ObjectInputStream s)
            throws ClassNotFoundException,
                   IOException
Reads the ObjectInputStream. Unrecognized keys or values will be ignored.
Parameters:
s - the ObjectInputStream to read
See Also:
writeObject(java.io.ObjectOutputStream)

Serialized Fields

fRequestedAttributes

 Hashtable<K,V> fRequestedAttributes
A map of font attributes available in this font. Attributes include things like ligatures and glyph substitution.

name

 String name
The logical name of this Font, as passed to the constructor.
Since:
JDK1.0

style

 int style
The style of this Font, as passed to the constructor. This style can be PLAIN, BOLD, ITALIC, or BOLD+ITALIC.
Since:
JDK1.0

size

 int size
The point size of this Font, rounded to integer.
Since:
JDK1.0

pointSize

 float pointSize
The point size of this Font in float.

fontSerializedDataVersion

 int fontSerializedDataVersion
The Font Serializable Data Form.

Class java.awt.FontFormatException extends Exception implements Serializable

serialVersionUID: -3387516993124229948L

Class java.awt.FontMetrics extends Object implements Serializable

serialVersionUID: 1681126225205050147L

Serialized Fields

font

 Font font
The actual Font from which the font metrics are created. This cannot be null.

Class java.awt.Frame extends Window implements Serializable

serialVersionUID: 2673458971256075116L

Serialization Methods

writeObject

private void writeObject(ObjectOutputStream s)
            throws IOException
Writes default serializable fields to stream. Writes an optional serializable Icon, which is available as of 1.4.
Parameters:
s - the ObjectOutputStream to write
See Also:
Icon, readObject(ObjectInputStream)

readObject

private void readObject(ObjectInputStream s)
            throws ClassNotFoundException,
                   IOException,
                   HeadlessException
Reads the ObjectInputStream. Tries to read an Icon, which is optional data available as of 1.4. If an Icon is not available, but anything other than an EOF is detected, an OptionalDataException will be thrown.. Unrecognized keys or values will be ignored.
Parameters:
s - the ObjectInputStream to read
Throws:
HeadlessException - if GraphicsEnvironment.isHeadless returns true
See Also:
GraphicsEnvironment.isHeadless(), Icon, writeObject(ObjectOutputStream)

Serialized Fields

maximizedBounds

 Rectangle maximizedBounds
Maximized bounds for this frame.
Since:
1.4

title

 String title
This is the title of the frame. It can be changed at any time. title can be null and if this is the case the title = "".

menuBar

 MenuBar menuBar
The frames menubar. If menuBar = null the frame will not have a menubar.

resizable

 boolean resizable
This field indicates whether the frame is resizable. This property can be changed at any time. resizable will be true if the frame is resizable, otherwise it will be false.

undecorated

 boolean undecorated
This field indicates whether the frame is undecorated. This property can only be changed while the frame is not displayable. undecorated will be true if the frame is undecorated, otherwise it will be false.
Since:
1.4

mbManagement

 boolean mbManagement
mbManagement is only used by the Motif implementation.

state

 int state

ownedWindows

 Vector<E> ownedWindows

frameSerializedDataVersion

 int frameSerializedDataVersion
Frame's Serialized Data Version.

Class java.awt.Frame.AccessibleAWTFrame extends Window.AccessibleAWTWindow implements Serializable

serialVersionUID: -6172960752956030250L

Class java.awt.GraphicsConfigTemplate extends Object implements Serializable

Class java.awt.GridBagConstraints extends Object implements Serializable

serialVersionUID: -1000070633030801713L

Serialized Fields

gridx

 int gridx
Specifies the cell containing the leading edge of the component's display area, where the first cell in a row has gridx=0. The leading edge of a component's display area is its left edge for a horizontal, left-to-right container and its right edge for a horizontal, right-to-left container. The value RELATIVE specifies that the component be placed immediately following the component that was added to the container just before this component was added.

The default value is RELATIVE. gridx should be a non-negative value.

Usages and Demos :

View More Examples of gridx
   1: public class GridBag1 extends JPanel {
   2:   GridBagConstraints constraints = new GridBagConstraints();
   3: 
   4:         ...
   5:   void addGB(Component component, int x, int y)    {
   6:     constraints.gridx =    x;
   7:     constraints.gridy =    y;
   8:     add(component, constraints);
   9:   }

View Full Code Here
   1: public class GridBag4 extends JPanel {
   2:   GridBagConstraints constraints = new GridBagConstraints();
   3: 
   4:         ...
   5:     setLayout(new GridBagLayout());
   6:     constraints.fill = GridBagConstraints.BOTH;
   7:     constraints.weighty    = 1.0;
   8:         ...
   9:   void addGB(Component component, int x, int y)    {
  10:     constraints.gridx =    x;
  11:     constraints.gridy =    y;

View Full Code Here
   1: public class GridBag2 extends JPanel {
   2:   GridBagConstraints constraints = new GridBagConstraints();
   3: 
   4:         ...
   5:     constraints.weighty    = 1.0;
   6:     constraints.fill = GridBagConstraints.BOTH;
   7:     addGB(new JButton("North"),     x = 1,    y = 0);
   8:         ...
   9:   void addGB(Component component, int x, int y)    {
  10:     constraints.gridx =    x;
  11:     constraints.gridy =    y;

View Full Code Here
   1: public class GridBag5 extends JPanel {
   2:   GridBagConstraints constraints = new GridBagConstraints();
   3: 
   4:         ...
   5:   void addGB(Component component, int x, int y)    {
   6:     constraints.gridx =    x;
   7:     constraints.gridy =    y;
   8:     add(component, constraints);
   9:   }

View Full Code Here
   1: public class GridBag3 extends JPanel {
   2:   GridBagConstraints constraints = new GridBagConstraints();
   3: 
   4:         ...
   5:     constraints.weighty    = 1.0;
   6:     constraints.fill = GridBagConstraints.BOTH;
   7:     addGB(new JButton("one"),    x = 0, y = 0);
   8:         ...
   9:   void addGB(Component component, int x, int y)    {
  10:     constraints.gridx =    x;
  11:     constraints.gridy =    y;

View Full Code Here

gridy

 int gridy
Specifies the cell at the top of the component's display area, where the topmost cell has gridy=0. The value RELATIVE specifies that the component be placed just below the component that was added to the container just before this component was added.

The default value is RELATIVE. gridy should be a non-negative value.

Usages and Demos :

View More Examples of gridy
   1: 
   2:         GridBagConstraints constraintsStackTextArea = new GridBagConstraints();
   3:         ...
   4:         constraintsStackTextArea.gridx = 0; constraintsStackTextArea.gridy = 0;
   5:         constraintsStackTextArea.gridwidth = 1; constraintsStackTextArea.gridheight = 1;
   6:         ...
   7:         constraintsStackTextArea.fill = GridBagConstraints.BOTH;
   8:         constraintsStackTextArea.anchor = GridBagConstraints.CENTER;
   9:         ...
  10:         GridBagConstraints constraintsCloseButton = new GridBagConstraints();
  11:         constraintsCloseButton.gridx = 0; constraintsCloseButton.gridy = 1;

View Full Code Here
   1:     
   2:     GridBagConstraints c = new GridBagConstraints();
   3:     
   4:         ...
   5:     c.gridx = 0; c.gridy = 0; c.gridwidth = 4; c.gridheight=4;
   6:     c.weightx = c.weighty = 1.0;
   7:         ...
   8:     
   9:     c.gridx = 4; c.gridy = 0; c.gridwidth = 1; c.gridheight=1;
  10:     c.weightx = c.weighty = 0.0;
  11:         ...
  12:     
  13:     c.gridx = 4; c.gridy = 1; c.gridwidth = 1; c.gridheight=1;

View Full Code Here
   1:     
   2:     GridBagConstraints c = new GridBagConstraints();
   3:     
   4:         ...
   5:     c.gridx = 0; c.gridy = 0; c.gridwidth = 4; c.gridheight=4;
   6:     c.weightx = c.weighty = 1.0;
   7:         ...
   8:     
   9:     c.gridx = 4; c.gridy = 0; c.gridwidth = 1; c.gridheight=1;
  10:     c.weightx = c.weighty = 0.0;
  11:         ...
  12:     
  13:     c.gridx = 4; c.gridy = 1; c.gridwidth = 1; c.gridheight=1;

View Full Code Here
   1: 
   2:         GridBagConstraints constraintsStackTextArea = new GridBagConstraints();
   3:         ...
   4:         constraintsStackTextArea.gridx = 0; constraintsStackTextArea.gridy = 0;
   5:         constraintsStackTextArea.gridwidth = 1; constraintsStackTextArea.gridheight = 1;
   6:         ...
   7:         constraintsStackTextArea.fill = GridBagConstraints.BOTH;
   8:         constraintsStackTextArea.anchor = GridBagConstraints.CENTER;
   9:         ...
  10:         GridBagConstraints constraintsCloseButton = new GridBagConstraints();
  11:         constraintsCloseButton.gridx = 0; constraintsCloseButton.gridy = 1;

View Full Code Here
   1:         GridBagLayout gridbag=new GridBagLayout();
   2:         GridBagConstraints c=new GridBagConstraints();
   3:         mainPanel.setLayout(gridbag);
   4:         ...
   5: 
   6:         c.anchor=GridBagConstraints.EAST;
   7:         c.fill=GridBagConstraints.BOTH;
   8:         ...
   9:         c.weightx=0.6; c.weighty=0.2;
  10:         c.gridx=0; c.gridy=0; c.gridheight=3; c.gridwidth=1;
  11: 
  12:         ...
  13: 
  14:         c.gridy=3; c.gridheight=3; c.gridwidth=2;

View Full Code Here

gridwidth

 int gridwidth
Specifies the number of cells in a row for the component's display area.

Use REMAINDER to specify that the component's display area will be from gridx to the last cell in the row. Use RELATIVE to specify that the component's display area will be from gridx to the next to the last one in its row.

gridwidth should be non-negative and the default value is 1.

Usages and Demos :

View More Examples of gridwidth
   1:     pane.setLayout(new GridBagLayout());
   2:     GridBagConstraints gbc = new GridBagConstraints();
   3:     gbc.gridx = 1;
   4:         ...
   5:     gbc.gridy = GridBagConstraints.RELATIVE;
   6:     pane.add(new JButton("First row, first column"), gbc);
   7:         ...
   8:     pane.add(new JButton("Second row"), gbc);
   9:     gbc.gridwidth = 2;
  10:     gbc.fill = GridBagConstraints.HORIZONTAL;
  11:         ...
  12:     pane.add(new JButton("Third row, spans two columns"), gbc);
  13:     gbc.gridwidth = 1;

View Full Code Here
   1: public class GridBag3 extends JPanel {
   2:   GridBagConstraints constraints = new GridBagConstraints();
   3: 
   4:         ...
   5:     constraints.weighty    = 1.0;
   6:     constraints.fill = GridBagConstraints.BOTH;
   7:     addGB(new JButton("one"),    x = 0, y = 0);
   8:     addGB(new JButton("two"),    x = 1, y = 0);
   9:     addGB(new JButton("three"),    x = 2, y = 0);

View Full Code Here
   1:         frame.setLayout(new GridBagLayout());
   2:         GridBagConstraints constraints = new GridBagConstraints();
   3:         constraints.weightx    = 1.0;
   4:         ...
   5:         constraints.weighty    = 1.0;
   6:         constraints.gridwidth  = 1;
   7:         constraints.gridheight = 1;
   8:         ...
   9:         constraints.fill       = GridBagConstraints.BOTH;
  10: 
  11:         ...
  12:         constraints.gridy=1;
  13:         constraints.gridwidth=3;

View Full Code Here
   1:         GridBagLayout gbl = new GridBagLayout();
   2:         GridBagConstraints c = new GridBagConstraints();
   3:         setLayout(gbl);
   4:         ...
   5:         c.gridheight = 1;
   6:         c.gridwidth = 1;
   7:         c.fill = c.NONE;
   8:         c.weightx = 1.0;
   9:         c.weighty = 1.0;

View Full Code Here
   1:         setLayout (new GridBagLayout());
   2:         GridBagConstraints gbc = new GridBagConstraints();
   3:         gbc.gridy = 0;
   4:         ...
   5:         gbc.fill = GridBagConstraints.HORIZONTAL;
   6:         ...
   7:         gbc.gridwidth = 2;
   8:         gbc.anchor = GridBagConstraints.SOUTH;
   9:         ...
  10:                          player.getFile().getName()), gbc);
  11:         gbc.gridwidth = 1;

View Full Code Here

gridheight

 int gridheight
Specifies the number of cells in a column for the component's display area.

Use REMAINDER to specify that the component's display area will be from gridy to the last cell in the column. Use RELATIVE to specify that the component's display area will be from gridy to the next to the last one in its column.

gridheight should be a non-negative value and the default value is 1.

Usages and Demos :

View More Examples of gridheight
   1:     pane.setLayout(new GridBagLayout());
   2:     GridBagConstraints gbc = new GridBagConstraints();
   3:     pane.add(new JButton("First row, first column"), gbc);
   4:         ...
   5:     pane.add(new JButton("First row, second column"), gbc);
   6:     gbc.gridheight = GridBagConstraints.REMAINDER;
   7:         ...
   8:     gbc.fill = GridBagConstraints.VERTICAL;
   9:     pane.add(new JButton("First row, third column"), gbc);
  10:         ...
  11:     gbc.gridx = 0;
  12:     gbc.gridheight = 1;

View Full Code Here
   1: public class GridBag3 extends JPanel {
   2:   GridBagConstraints constraints = new GridBagConstraints();
   3: 
   4:         ...
   5:     constraints.weighty    = 1.0;
   6:     constraints.fill = GridBagConstraints.BOTH;
   7:     addGB(new JButton("one"),    x = 0, y = 0);
   8:     addGB(new JButton("two"),    x = 1, y = 0);
   9:     addGB(new JButton("three"),    x = 2, y = 0);

View Full Code Here
   1:         frame.setLayout(new GridBagLayout());
   2:         GridBagConstraints constraints = new GridBagConstraints();
   3:         constraints.weightx    = 1.0;
   4:         ...
   5:         constraints.gridwidth  = 1;
   6:         constraints.gridheight = 1;
   7:         ...
   8:         constraints.fill       = GridBagConstraints.BOTH;

View Full Code Here
   1:         GridBagLayout gbl = new GridBagLayout();
   2:         GridBagConstraints c = new GridBagConstraints();
   3:         setLayout(gbl);
   4:         ...
   5:         
   6:         c.gridheight = 1;
   7:         c.gridwidth = 1;
   8:         c.fill = c.NONE;
   9:         c.weightx = 1.0;

View Full Code Here
   1:     JPanel panel = new JPanel(new GridBagLayout());
   2:         GridBagConstraints constraints = new GridBagConstraints();
   3:         constraints.insets = new Insets(10, 10, 10, 10);
   4:         ...
   5:         constraints.gridwidth = 1;
   6:         constraints.gridheight = 1;
   7:         ...
   8:     constraints.anchor = GridBagConstraints.NORTHEAST;
   9:     constraints.fill = GridBagConstraints.NONE;
  10:         ...
  11:     constraints.gridy = 0;
  12:         constraints.gridheight = 2;

View Full Code Here

weightx

 double weightx
Specifies how to distribute extra horizontal space.

The grid bag layout manager calculates the weight of a column to be the maximum weightx of all the components in a column. If the resulting layout is smaller horizontally than the area it needs to fill, the extra space is distributed to each column in proportion to its weight. A column that has a weight of zero receives no extra space.

If all the weights are zero, all the extra space appears between the grids of the cell and the left and right edges.

The default value of this field is 0. weightx should be a non-negative value.

Usages and Demos :

View More Examples of weightx
   1: import java.awt.GridBagLayout;
   2: import java.awt.GridBagConstraints;
   3: 
   4:         ...
   5:         removeAll.addActionListener(new Action(left, right,  true));
   6:         final GridBagConstraints c = new GridBagConstraints();
   7:         ...
   8:         c.gridy=0; c.gridwidth=1; c.gridheight=4; c.weightx=c.weighty=1; c.fill=c.BOTH;
   9:         c.gridx=0; add( leftPane,  c);
  10:         ...
  11:         c.insets.left = c.insets.right = 9;
  12:         c.gridx=1; c.gridheight=1; c.weightx=0; c.fill=c.HORIZONTAL;

View Full Code Here
   1:          GridBagLayout gbl = new GridBagLayout();
   2:          GridBagConstraints gbc = new GridBagConstraints();
   3:          getContentPane().setLayout(gbl);
   4:         ...
   5:          gbc.gridy = 0;
   6:          gbc.fill = GridBagConstraints.NONE;
   7:          gbc.anchor = GridBagConstraints.NORTHEAST;
   8:         ...
   9:          gbc.weightx = 1; gbc.gridwidth = 2; gbc.ipadx = 0;
  10:          gbc.insets = new Insets(5, 0, 0, 0);
  11:         ...
  12:          gbc.anchor = GridBagConstraints.NORTHWEST;
  13:          gbc.weightx = 4;

View Full Code Here
   1:         scrollPanel.setLayout(new GridBagLayout());
   2:         GridBagConstraints c = new GridBagConstraints();
   3: 
   4:         ...
   5:         topPanel.setLayout(new GridBagLayout());
   6:         c.gridy=0; c.fill=GridBagConstraints.HORIZONTAL;
   7:         ...
   8:         c.gridx=0;c.weightx=0;c.insets = new Insets(0,10,0,10);
   9:         topPanel.add(modeSelectPanel,c);
  10:         ...
  11:         c.insets=new Insets(0,0,0,0);
  12:         c.gridx=1;c.weightx=1;

View Full Code Here
   1: 
   2:   private GridBagConstraints c;
   3:   private String currentScheme = "CRL";
   4:         ...
   5:     
   6:     c = new GridBagConstraints();
   7:         ...
   8:     c.fill=GridBagConstraints.BOTH;
   9:     c.insets = new Insets(1,1,1,1);
  10:         ...
  11:     
  12:     c.gridx=0; c.gridwidth=1; c.gridheight=1; c.weightx=1; c.weighty=0;

View Full Code Here
   1: import java.awt.GridBagLayout;
   2: import java.awt.GridBagConstraints;
   3: import java.awt.IllegalComponentStateException;
   4:         ...
   5:         final JProgressBar progress = new JProgressBar();
   6:         final GridBagConstraints c = new GridBagConstraints();
   7: 
   8:         ...
   9:         c.gridy=0; c.fill=c.BOTH;
  10:         c.gridx=0; c.weightx=1; add(message,    c);
  11:         ...
  12:         c.gridx=1; c.weightx=0; add(progress,   c);

View Full Code Here

weighty

 double weighty
Specifies how to distribute extra vertical space.

The grid bag layout manager calculates the weight of a row to be the maximum weighty of all the components in a row. If the resulting layout is smaller vertically than the area it needs to fill, the extra space is distributed to each row in proportion to its weight. A row that has a weight of zero receives no extra space.

If all the weights are zero, all the extra space appears between the grids of the cell and the top and bottom edges.

The default value of this field is 0. weighty should be a non-negative value.

Usages and Demos :

View More Examples of weighty
   1: import java.awt.Graphics;
   2: import java.awt.GridBagConstraints;
   3: import java.awt.GridBagLayout;
   4:         ...
   5:         final Vocabulary resources = Vocabulary.getResources(getDefaultLocale());
   6:         final GridBagConstraints c = new GridBagConstraints();
   7:         c.gridy=1; c.insets.bottom=6;
   8:         ...
   9:         c.insets.left = c.insets.right = 15; add(comments, c);
  10:         c.gridx=0; c.weighty=1; c.gridwidth=c.REMAINDER;
  11:         c.gridy=0; c.insets.left = c.insets.right = 0;;

View Full Code Here
   1:         scrollPanel.setLayout(new GridBagLayout());
   2:         GridBagConstraints c = new GridBagConstraints();
   3: 
   4:         ...
   5:         topPanel.setLayout(new GridBagLayout());
   6:         c.gridy=0; c.fill=GridBagConstraints.HORIZONTAL;
   7:         c.gridx=0;c.weightx=0;c.insets = new Insets(0,10,0,10);
   8:         ...
   9:         c.gridwidth = 1;
  10:         c.gridx = 0; c.gridy = 1; c.weightx = 1; c.weighty = 1;
  11:         scrollPanel.add(tgPanel,c);
  12:         ...
  13: 
  14:         c.gridx = 1; c.gridy = 1; c.weightx = 0; c.weighty = 0;

View Full Code Here
   1: 
   2:   private GridBagConstraints c;
   3:   private String currentScheme = "CRL";
   4:         ...
   5:     
   6:     c = new GridBagConstraints();
   7:         ...
   8:     c.fill=GridBagConstraints.BOTH;
   9:     c.insets = new Insets(1,1,1,1);
  10:         ...
  11:     
  12:     c.gridx=0; c.gridwidth=1; c.gridheight=1; c.weightx=1; c.weighty=0;

View Full Code Here
   1:         setLayout(new GridBagLayout());
   2:         GridBagConstraints c=new GridBagConstraints();
   3:         ...
   4:         c.fill=GridBagConstraints.HORIZONTAL;
   5: 
   6:         ...
   7:         c.weightx=1.;
   8:         c.weighty=0.;
   9:         c.gridx=0;
  10:         ...
  11:         c.gridy=6;
  12:         c.gridx=0; c.gridwidth=4; c.weighty=1.; c.fill=GridBagConstraints.BOTH; c.insets=yesInsets;

View Full Code Here

anchor

 int anchor
This field is used when the component is smaller than its display area. It determines where, within the display area, to place the component.

There are two kinds of possible values: relative and absolute. Relative values are interpreted relative to the container's component orientation property while absolute values are not. The absolute values are: CENTER, NORTH, NORTHEAST, EAST, SOUTHEAST, SOUTH, SOUTHWEST, WEST, and NORTHWEST. The relative values are: PAGE_START, PAGE_END, LINE_START, LINE_END, FIRST_LINE_START, FIRST_LINE_END, LAST_LINE_START and LAST_LINE_END. The default value is CENTER.

Usages and Demos :

View More Examples of anchor
   1: import java.awt.Component;
   2: import java.awt.GridBagConstraints;
   3: import java.awt.GridBagLayout;
   4:         ...
   5:         } else {
   6:             GridBagConstraints gbc = new GridBagConstraints();
   7:             gbc.gridx = gridx;
   8:         ...
   9:             gbc.fill = fill;
  10:             gbc.anchor = anchor;
  11:             gbc.ipadx = 5;

View Full Code Here
   1: import java.awt.Container;
   2: import java.awt.GridBagConstraints;
   3: import java.awt.GridBagLayout;
   4:         ...
   5:     {
   6:         GridBagConstraints gbc = new GridBagConstraints();
   7:         gbc.gridx = gridx;
   8:         ...
   9:         gbc.fill = fill;
  10:         gbc.anchor = anchor;
  11:         gbc.weightx = weightx;

View Full Code Here
   1:         addItem(panel1, new JLabel("Name:"), 0, 0, 1, 1,
   2:             GridBagConstraints.EAST);
   3:         addItem(panel1, new JLabel("Phone:"), 0, 1, 1, 1,
   4:         ...
   5:             GridBagConstraints.EAST);
   6:         addItem(panel1, new JLabel("Address:"), 0, 2, 1, 1,
   7:         ...
   8:             GridBagConstraints.EAST);
   9: 
  10:         ...
  11:         gc.insets = new Insets(5, 5, 5, 5);
  12:         gc.anchor = align;

View Full Code Here
   1:         for (int i = 1; i < format.length; i++){
   2:             GridBagConstraints c = new GridBagConstraints();
   3:             if (!(format[i] instanceof Object[])){
   4:         ...
   5:                 try {
   6:                     c.anchor = ((Integer)GridBagConstraints.class.getField(g).get(null)).intValue();
   7:                 } catch (Exception e){}
   8:         ...
   9:                 try {
  10:                     c.fill = ((Integer)GridBagConstraints.class.getField(g).get(null)).intValue();
  11:                 } catch (Exception e){}

View Full Code Here
   1: import java.awt.Component;
   2: import java.awt.GridBagConstraints;
   3: import java.awt.Insets;
   4:         ...
   5: 
   6:     private GridBagConstraints  m_gbc;
   7:     private IUiDecor            m_decor;
   8:         ...
   9:     public OneLinePanel setAnchor(Anchor anchor) {
  10:         m_gbc.anchor = anchor.getSwingCode();
  11:         return this;
  12:         ...
  13:     public void setLayoutState(Object o) {
  14:         if (o instanceof GridBagConstraints) {

View Full Code Here

fill

 int fill
This field is used when the component's display area is larger than the component's requested size. It determines whether to resize the component, and if so, how.

The following values are valid for fill:

  • NONE: Do not resize the component.
  • HORIZONTAL: Make the component wide enough to fill its display area horizontally, but do not change its height.
  • VERTICAL: Make the component tall enough to fill its display area vertically, but do not change its width.
  • BOTH: Make the component fill its display area entirely.

The default value is NONE.

Usages and Demos :

View More Examples of fill
   1: import java.awt.event.MouseAdapter;
   2: import java.awt.GridBagConstraints;
   3: import java.awt.GridBagLayout;
   4:         ...
   5:         setLayout(new GridBagLayout());
   6:         GridBagConstraints gridBagConstraints = new GridBagConstraints();
   7:         ...
   8:         gridBagConstraints.fill = 2;
   9:         add(new InternalFeatButton(_feat, enabled, al), gridBagConstraints);

View Full Code Here
   1:         for (int i = 1; i < format.length; i++){
   2:             GridBagConstraints c = new GridBagConstraints();
   3:             if (!(format[i] instanceof Object[])){
   4:         ...
   5:                 try {
   6:                     c.anchor = ((Integer)GridBagConstraints.class.getField(g).get(null)).intValue();
   7:                 } catch (Exception e){}
   8:         ...
   9:                 try {
  10:                     c.fill = ((Integer)GridBagConstraints.class.getField(g).get(null)).intValue();
  11:                 } catch (Exception e){}

View Full Code Here
   1:         ProgressBar.setMaximum(1000);
   2:         GridBagConstraints gridBagConstraints = new GridBagConstraints();
   3:         gridBagConstraints.gridx = 1;
   4:         ...
   5:         gridBagConstraints.gridy = 2;
   6:         gridBagConstraints.fill = 2;
   7:         getContentPane().add(ProgressBar, gridBagConstraints);
   8:         ...
   9:         gridBagConstraints.gridy = 1;
  10:         gridBagConstraints.fill = 2;
  11:         getContentPane().add(ProgressText, gridBagConstraints);

View Full Code Here
   1: import java.awt.Component;
   2: import java.awt.GridBagConstraints;
   3: import java.awt.Insets;
   4:         ...
   5: 
   6:     private GridBagConstraints  m_gbc;
   7:     private IUiDecor            m_decor;
   8:         ...
   9:     public OneLinePanel setFill(Fill fill) {
  10:         m_gbc.fill = fill.getSwingCode();
  11:         return this;
  12:         ...
  13:     public void setLayoutState(Object o) {
  14:         if (o instanceof GridBagConstraints) {

View Full Code Here
   1: import java.awt.Component;
   2: import java.awt.GridBagConstraints;
   3: import java.awt.Insets;
   4:         ...
   5:     
   6:     private GridBagConstraints  m_leftConstraints;
   7:         ...
   8:     private GridBagConstraints  m_rightConstraints;
   9:     
  10:         ...
  11:     public TwoColumnPanel setLeftFill(Fill fill) {
  12:         m_leftConstraints.fill = fill.getSwingCode();

View Full Code Here

insets

 Insets insets
This field specifies the external padding of the component, the minimum amount of space between the component and the edges of its display area.

The default value is new Insets(0, 0, 0, 0).

Usages and Demos :

View More Examples of insets
   1: import java.awt.Graphics;
   2: import java.awt.GridBagConstraints;
   3: import java.awt.GridBagLayout;
   4:         ...
   5:         final Vocabulary resources = Vocabulary.getResources(getDefaultLocale());
   6:         final GridBagConstraints c = new GridBagConstraints();
   7:         ...
   8:         c.gridy=1; c.insets.bottom=6;
   9:         ...
  10:         c.gridx=0; c.insets.left =9; add(new JLabel(resources.getLabel(VocabularyKeys.BAND)), c);

View Full Code Here
   1: import javax.swing.border.Border;
   2: import java.awt.GridBagConstraints;
   3: import java.awt.GridBagLayout;
   4:         ...
   5:         labelV = new JLabel(resources.getString(ResourceKeys.VERTICAL_COMPONENT),   JLabel.CENTER);
   6:         final GridBagConstraints c = new GridBagConstraints();
   7:         
   8:         ...
   9:         c.insets.top = 6;
  10:         c.gridy=0; c.weightx=1; c.gridwidth=1; c.gridheight=1; c.fill=c.BOTH;
  11:         ...
  12:         c.gridx=1; add(labelV, c);
  13:         c.gridy=1; c.weighty=1; c.insets.bottom = 6;

View Full Code Here
   1: import javax.swing.border.Border;
   2: import java.awt.GridBagConstraints;
   3: import java.awt.GridBagLayout;
   4:         ...
   5:         labelV = new JLabel(resources.getString(VocabularyKeys.VERTICAL_COMPONENT),   JLabel.CENTER);
   6:         final GridBagConstraints c = new GridBagConstraints();
   7:         
   8:         ...
   9:         c.insets.top = 6;
  10:         c.gridy=0; c.weightx=1; c.gridwidth=1; c.gridheight=1; c.fill=c.BOTH;
  11:         ...
  12:         c.gridx=1; add(labelV, c);
  13:         c.gridy=1; c.weighty=1; c.insets.bottom = 6;

View Full Code Here
   1:         scrollPanel.setLayout(new GridBagLayout());
   2:         GridBagConstraints c = new GridBagConstraints();
   3: 
   4:         ...
   5:         topPanel.setLayout(new GridBagLayout());
   6:         c.gridy=0; c.fill=GridBagConstraints.HORIZONTAL;
   7:         ...
   8:         c.gridx=0;c.weightx=0;c.insets = new Insets(0,10,0,10);
   9:         topPanel.add(modeSelectPanel,c);
  10:         ...
  11:         c.insets=new Insets(0,0,0,0);

View Full Code Here
   1: import java.awt.GridBagLayout;
   2: import java.awt.GridBagConstraints;
   3: import java.awt.event.ActionEvent;
   4:         ...
   5:         final Resources resources = Resources.getResources(null);
   6:         final GridBagConstraints c = new GridBagConstraints();
   7:         ...
   8:         c.gridx=0; c.insets.right=6;
   9:         c.gridy=0; add(new JLabel(resources.getLabel(ResourceKeys.FORMAT )), c);
  10:         ...
  11:         c.gridy++; add(new JLabel(resources.getLabel(ResourceKeys.PREVIEW)), c);
  12:         c.insets.right=0; c.gridx++; c.weightx=1; c.fill=c.HORIZONTAL;

View Full Code Here

ipadx

 int ipadx
This field specifies the internal padding of the component, how much space to add to the minimum width of the component. The width of the component is at least its minimum width plus ipadx pixels.

The default value is 0.

Usages and Demos :

View More Examples of ipadx
   1: public class GridBag5 extends JPanel {
   2:   GridBagConstraints constraints = new GridBagConstraints();
   3: 
   4:   public GridBag5() {
   5:     setLayout(new GridBagLayout());

View Full Code Here
   1:       GridBagLayout gridBag=new GridBagLayout();
   2:       GridBagConstraints c=new GridBagConstraints();
   3:       setLayout(gridBag);
   4:         ...
   5:       text.addActionListener(this);
   6:       c.gridwidth=GridBagConstraints.REMAINDER;
   7:       c.fill=GridBagConstraints.HORIZONTAL;
   8:         ...
   9:       c.weighty=1.0;
  10:       c.ipadx=10;
  11:       c.ipady=10;

View Full Code Here
   1:     setLayout(gbl);
   2:     GridBagConstraints gbc = new GridBagConstraints();
   3: 
   4:         ...
   5:     gbc.anchor = GridBagConstraints.NORTH;
   6:         ...
   7:     gbc.ipadx = 10;  gbc.ipady = 10;
   8:     gbc.insets = new Insets(10,10,10,10);

View Full Code Here
   1:         setLayout(gridbag);
   2:         GridBagConstraints labelConstraints = 
   3:         ...
   4:                 new GridBagConstraints();
   5:         ...
   6:         GridBagConstraints valueConstraints = 
   7:                 new GridBagConstraints();
   8:         ...
   9:         labelConstraints.anchor = GridBagConstraints.WEST;
  10:         labelConstraints.ipadx = 10;

View Full Code Here
   1:         GridBagLayout gridBag = new GridBagLayout();
   2:         GridBagConstraints c = new GridBagConstraints();
   3:         setLayout(gridBag);
   4:         ...
   5:         urlField.addActionListener(this);
   6:         c.gridwidth = GridBagConstraints.REMAINDER;
   7:         c.fill = GridBagConstraints.HORIZONTAL;
   8:         ...
   9:         c.weighty = 1.0;
  10:         c.ipadx = 10;
  11:         c.ipady = 10;

View Full Code Here

ipady

 int ipady
This field specifies the internal padding, that is, how much space to add to the minimum height of the component. The height of the component is at least its minimum height plus ipady pixels.

The default value is 0.

Usages and Demos :

View More Examples of ipady
   1: public class GridBag5 extends JPanel {
   2:   GridBagConstraints constraints = new GridBagConstraints();
   3: 
   4:         ...
   5:     addGB(new JButton("North"),     x = 1,    y = 0);
   6:     constraints.ipady =    25;
   7:     addGB(new JButton("West"),     x = 0,    y = 1);
   8:         ...
   9:     constraints.ipady =    0;
  10:     addGB(new JButton("Center"), x = 1,    y = 1);

View Full Code Here
   1:       GridBagLayout gridBag=new GridBagLayout();
   2:       GridBagConstraints c=new GridBagConstraints();
   3:       setLayout(gridBag);
   4:         ...
   5:       text.addActionListener(this);
   6:       c.gridwidth=GridBagConstraints.REMAINDER;
   7:       c.fill=GridBagConstraints.HORIZONTAL;
   8:         ...
   9:       c.ipadx=10;
  10:       c.ipady=10;
  11:       c.insets=new Insets(5,0,0,0);

View Full Code Here
   1:     setLayout(gbl);
   2:     GridBagConstraints gbc = new GridBagConstraints();
   3: 
   4:         ...
   5:     gbc.anchor = GridBagConstraints.NORTH;
   6:         ...
   7:     gbc.ipadx = 10;  gbc.ipady = 10;
   8:     gbc.insets = new Insets(10,10,10,10);

View Full Code Here
   1:         GridBagLayout gridbag = new GridBagLayout();
   2:         GridBagConstraints c = new GridBagConstraints();
   3:         contentPane.setLayout(gridbag);
   4:         ...
   5:         if (shouldFill) {
   6:             c.fill = GridBagConstraints.HORIZONTAL; 
   7:         }
   8:    
   9:         button = new JButton("Button 1");

View Full Code Here
   1: import java.awt.GridBagLayout; 
   2: import java.awt.GridBagConstraints; 
   3: import javax.swing.JFrame;
   4:         ...
   5: 
   6:     GridBagConstraints constraints = new GridBagConstraints();
   7: 
   8:     constraints.weightx = constraints.weighty = 10.0;
   9:     constraints.fill = constraints.NONE;

View Full Code Here

tempX

 int tempX
Temporary place holder for the x coordinate.

tempY

 int tempY
Temporary place holder for the y coordinate.

tempWidth

 int tempWidth
Temporary place holder for the Width of the component.

tempHeight

 int tempHeight
Temporary place holder for the Height of the component.

minWidth

 int minWidth
The minimum width of the component. It is used to calculate ipady, where the default will be 0.

minHeight

 int minHeight
The minimum height of the component. It is used to calculate ipadx, where the default will be 0.

Class java.awt.GridBagLayout extends Object implements Serializable

serialVersionUID: 8838754796412211005L

Serialized Fields

comptable

 Hashtable comptable
This hashtable maintains the association between a component and its gridbag constraints. The Keys in comptable are the components and the values are the instances of GridBagConstraints.

defaultConstraints

 GridBagConstraints defaultConstraints
This field holds a gridbag constraints instance containing the default values, so if a component does not have gridbag constraints associated with it, then the component will be assigned a copy of the defaultConstraints.

layoutInfo

 java.awt.GridBagLayoutInfo layoutInfo
This field holds the layout information for the gridbag. The information in this field is based on the most recent validation of the gridbag. If layoutInfo is null this indicates that there are no components in the gridbag or if there are components, they have not yet been validated.

columnWidths

 int[] columnWidths
This field holds the overrides to the column minimum width. If this field is non-null the values are applied to the gridbag after all of the minimum columns widths have been calculated. If columnWidths has more elements than the number of columns, columns are added to the gridbag to match the number of elements in columnWidth.
Usages and Demos :

View More Examples of columnWidths
   1: import java.awt.GridBagConstraints;
   2: import java.awt.GridBagLayout;
   3: import java.awt.Insets;
   4:         ...
   5: 
   6:          final GridBagLayout thisLayout = new GridBagLayout();
   7:          thisLayout.rowWeights = new double[]{0.0, 0.0, 0.0, 0.0, 0.0};
   8:         ...
   9:          thisLayout.columnWeights = new double[]{0.1, 0.1, 0.1, 0.1};
  10:          thisLayout.columnWidths = new int[]{7, 7, 7, 7};
  11:          this.setLayout(thisLayout);

View Full Code Here
   1: import java.awt.GridBagConstraints;
   2: import java.awt.GridBagLayout;
   3: import java.awt.Insets;
   4:         ...
   5:          {
   6:          final GridBagLayout thisLayout = new GridBagLayout();
   7:          thisLayout.rowWeights = new double[]{0.0, 0.0, 0.0, 0.0, 0.0, 0.1};
   8:         ...
   9:          thisLayout.columnWeights = new double[]{0.1, 0.1, 0.1, 0.1};
  10:          thisLayout.columnWidths = new int[]{7, 7, 7, 7};
  11:          this.setLayout(thisLayout);

View Full Code Here
   1: import java.awt.GridBagConstraints;
   2: import java.awt.GridBagLayout;
   3: import java.awt.Insets;
   4:         ...
   5: 
   6:          final GridBagLayout thisLayout = new GridBagLayout();
   7:          thisLayout.rowWeights = new double[]{0.0, 0.0, 0.0, 0.0};
   8:         ...
   9:          thisLayout.columnWeights = new double[]{0.1, 0.1, 0.1, 0.1};
  10:          thisLayout.columnWidths = new int[]{7, 7, 7, 7};
  11:          this.setLayout(thisLayout);

View Full Code Here
   1: import java.awt.GridBagConstraints;
   2: import java.awt.GridBagLayout;
   3: import java.awt.Insets;
   4:         ...
   5:          {
   6:          final GridBagLayout thisLayout = new GridBagLayout();
   7:          thisLayout.rowWeights = new double[]{.1, 0.4, 0.25};
   8:         ...
   9:          thisLayout.columnWeights = new double[]{0.1, 0.1, 0.1, 0.1,0.1,0.1};
  10:          thisLayout.columnWidths = new int[]{55,55,55,55,60,60};
  11:          this.setLayout(thisLayout);

View Full Code Here

rowHeights

 int[] rowHeights
This field holds the overrides to the row minimum heights. If this field is non-null the values are applied to the gridbag after all of the minimum row heights have been calculated. If rowHeights has more elements than the number of rows, rowa are added to the gridbag to match the number of elements in rowHeights.
Usages and Demos :

View More Examples of rowHeights
   1: import java.awt.GridBagConstraints;
   2: import java.awt.GridBagLayout;
   3: import java.awt.Insets;
   4:         ...
   5: 
   6:          final GridBagLayout thisLayout = new GridBagLayout();
   7:          thisLayout.rowWeights = new double[]{0.0, 0.0, 0.0, 0.0, 0.0};
   8:         ...
   9:          thisLayout.rowHeights = new int[]{7, 15, 7, 15, 20};
  10:          thisLayout.columnWeights = new double[]{0.1, 0.1, 0.1, 0.1};

View Full Code Here
   1: import java.awt.GridBagConstraints;
   2: import java.awt.GridBagLayout;
   3: import java.awt.Insets;
   4:         ...
   5:          {
   6:          final GridBagLayout thisLayout = new GridBagLayout();
   7:          thisLayout.rowWeights = new double[]{0.0, 0.0, 0.0, 0.0, 0.0, 0.1};
   8:         ...
   9:          thisLayout.rowHeights = new int[]{5, 15, 17, 15, 10, 7};
  10:          thisLayout.columnWeights = new double[]{0.1, 0.1, 0.1, 0.1};

View Full Code Here
   1: import java.awt.GridBagConstraints;
   2: import java.awt.GridBagLayout;
   3: import java.awt.Insets;
   4:         ...
   5: 
   6:          final GridBagLayout thisLayout = new GridBagLayout();
   7:          thisLayout.rowWeights = new double[]{0.0, 0.0, 0.0, 0.0};
   8:         ...
   9:          thisLayout.rowHeights = new int[]{15, 7, 15, 20};
  10:          thisLayout.columnWeights = new double[]{0.1, 0.1, 0.1, 0.1};

View Full Code Here
   1: import java.awt.GridBagConstraints;
   2: import java.awt.GridBagLayout;
   3: import java.awt.Insets;
   4:         ...
   5:          {
   6:          final GridBagLayout thisLayout = new GridBagLayout();
   7:          thisLayout.rowWeights = new double[]{.1, 0.4, 0.25};
   8:         ...
   9:          thisLayout.rowHeights = new int[]{15, 50, 25};
  10:          thisLayout.columnWeights = new double[]{0.1, 0.1, 0.1, 0.1,0.1,0.1};

View Full Code Here

columnWeights

 double[] columnWeights
This field holds the overrides to the column weights. If this field is non-null the values are applied to the gridbag after all of the columns weights have been calculated. If columnWeights[i] > weight for column i, then column i is assigned the weight in columnWeights[i]. If columnWeights has more elements than the number of columns, the excess elements are ignored - they do not cause more columns to be created.
Usages and Demos :

View More Examples of columnWeights
   1:     JPanel panel = new JPanel();
   2:     GridBagLayout gridbag = new GridBagLayout();
   3:     panel.setLayout(gridbag);
   4:         ...
   5:     }
   6:     gridbag.columnWeights = temp;
   7:     gridbag.rowWeights = temp2;
   8:         ...
   9:    JPanel panel = new JPanel();
  10:    GridBagLayout gridbag = new GridBagLayout();
  11:    panel.setLayout(gridbag);
  12:         ...
  13:    }
  14:    gridbag.columnWeights = temp;

View Full Code Here
   1:       ) ;
   2:       GridBagLayout gridbag = new GridBagLayout() ;
   3:       panel.setLayout( gridbag ) ;
   4:         ...
   5:       gc.gridy = 2 + ed.identifiers.length ;
   6:       gridbag.columnWeights = temp ;
   7:       gridbag.rowWeights = temp2 ;
   8:       this.setVerticalScrollBarPolicy( JScrollPane.VERTICAL_SCROLLBAR_ALWAYS ) ;
   9:       this.getVerticalScrollBar().setUnitIncrement( 15 ) ;

View Full Code Here
   1: import java.awt.GridBagConstraints;
   2: import java.awt.GridBagLayout;
   3: import java.awt.Insets;
   4:         ...
   5: 
   6:          final GridBagLayout thisLayout = new GridBagLayout();
   7:          thisLayout.rowWeights = new double[]{0.0, 0.0, 0.0, 0.0, 0.0};
   8:         ...
   9:          thisLayout.rowHeights = new int[]{7, 15, 7, 15, 20};
  10:          thisLayout.columnWeights = new double[]{0.1, 0.1, 0.1, 0.1};
  11:          thisLayout.columnWidths = new int[]{7, 7, 7, 7};

View Full Code Here
   1: import java.awt.GridBagConstraints;
   2: import java.awt.GridBagLayout;
   3: import java.awt.Insets;
   4:         ...
   5:          {
   6:          final GridBagLayout thisLayout = new GridBagLayout();
   7:          thisLayout.rowWeights = new double[]{0.0, 0.0, 0.0, 0.0, 0.0, 0.1};
   8:         ...
   9:          thisLayout.rowHeights = new int[]{5, 15, 17, 15, 10, 7};
  10:          thisLayout.columnWeights = new double[]{0.1, 0.1, 0.1, 0.1};
  11:          thisLayout.columnWidths = new int[]{7, 7, 7, 7};

View Full Code Here
   1: import java.awt.GridBagConstraints;
   2: import java.awt.GridBagLayout;
   3: import java.awt.Insets;
   4:         ...
   5: 
   6:          final GridBagLayout thisLayout = new GridBagLayout();
   7:          thisLayout.rowWeights = new double[]{0.0, 0.0, 0.0, 0.0};
   8:         ...
   9:          thisLayout.rowHeights = new int[]{15, 7, 15, 20};
  10:          thisLayout.columnWeights = new double[]{0.1, 0.1, 0.1, 0.1};
  11:          thisLayout.columnWidths = new int[]{7, 7, 7, 7};

View Full Code Here

rowWeights

 double[] rowWeights
This field holds the overrides to the row weights. If this field is non-null the values are applied to the gridbag after all of the rows weights have been calculated. If rowWeights[i] > weight for row i, then row i is assigned the weight in rowWeights[i]. If rowWeights has more elements than the number of rows, the excess elements are ignored - they do not cause more rows to be created.
Usages and Demos :

View More Examples of rowWeights
   1:     JPanel panel = new JPanel();
   2:     GridBagLayout gridbag = new GridBagLayout();
   3:     panel.setLayout(gridbag);
   4:         ...
   5:     gridbag.columnWeights = temp;
   6:     gridbag.rowWeights = temp2;
   7:     content.setViewportView(panel);
   8:         ...
   9:    JPanel panel = new JPanel();
  10:    GridBagLayout gridbag = new GridBagLayout();
  11:    panel.setLayout(gridbag);
  12:         ...
  13:    gridbag.columnWeights = temp;
  14:    gridbag.rowWeights = temp2;

View Full Code Here
   1:       ) ;
   2:       GridBagLayout gridbag = new GridBagLayout() ;
   3:       panel.setLayout( gridbag ) ;
   4:         ...
   5:       gridbag.columnWeights = temp ;
   6:       gridbag.rowWeights = temp2 ;
   7:       this.setVerticalScrollBarPolicy( JScrollPane.VERTICAL_SCROLLBAR_ALWAYS ) ;
   8:       this.getVerticalScrollBar().setUnitIncrement( 15 ) ;
   9:       this.setHorizontalScrollBarPolicy( JScrollPane.

View Full Code Here
   1: import java.awt.GridBagConstraints;
   2: import java.awt.GridBagLayout;
   3: import java.awt.Insets;
   4:         ...
   5: 
   6:          final GridBagLayout thisLayout = new GridBagLayout();
   7:         ...
   8:          thisLayout.rowWeights = new double[]{0.0, 0.0, 0.0, 0.0, 0.0};
   9:          thisLayout.rowHeights = new int[]{7, 15, 7, 15, 20};

View Full Code Here
   1: import java.awt.GridBagConstraints;
   2: import java.awt.GridBagLayout;
   3: import java.awt.Insets;
   4:         ...
   5:          {
   6:          final GridBagLayout thisLayout = new GridBagLayout();
   7:         ...
   8:          thisLayout.rowWeights = new double[]{0.0, 0.0, 0.0, 0.0, 0.0, 0.1};
   9:          thisLayout.rowHeights = new int[]{5, 15, 17, 15, 10, 7};

View Full Code Here
   1: import java.awt.GridBagConstraints;
   2: import java.awt.GridBagLayout;
   3: import java.awt.Insets;
   4:         ...
   5: 
   6:          final GridBagLayout thisLayout = new GridBagLayout();
   7:         ...
   8:          thisLayout.rowWeights = new double[]{0.0, 0.0, 0.0, 0.0};
   9:          thisLayout.rowHeights = new int[]{15, 7, 15, 20};

View Full Code Here

Class java.awt.GridLayout extends Object implements Serializable

Serialized Fields

hgap

 int hgap
This is the horizontal gap (in pixels) which specifies the space between columns. They can be changed at any time. This should be a non-negative integer.

vgap

 int vgap
This is the vertical gap (in pixels) which specifies the space between rows. They can be changed at any time. This should be a non negative integer.

rows

 int rows
This is the number of rows specified for the grid. The number of rows can be changed at any time. This should be a non negative integer, where '0' means 'any number' meaning that the number of Rows in that dimension depends on the other dimension.

cols

 int cols
This is the number of columns specified for the grid. The number of columns can be changed at any time. This should be a non negative integer, where '0' means 'any number' meaning that the number of Columns in that dimension depends on the other dimension.

Class java.awt.HeadlessException extends UnsupportedOperationException implements Serializable

serialVersionUID: 167183644944358563L

Class java.awt.IllegalComponentStateException extends IllegalStateException implements Serializable

serialVersionUID: -1889339587208144238L

Class java.awt.Insets extends Object implements Serializable

serialVersionUID: -2272572637695466749L

Serialized Fields

top

 int top
The inset from the top. This value is added to the Top of the rectangle to yield a new location for the Top.
Usages and Demos :

View More Examples of top
   1:     InsetPanel messagePanel = new InsetPanel(new ColumnLayout(2));
   2:     messagePanel.setInsets(new Insets(30, 40, 30, 40));
   3:     ArrayList a = StringExt.getTextParagraph(message);
   4:         ...
   5: 
   6:     public Insets getInsets() {
   7:         ...
   8:     Insets i = super.getInsets();
   9:         ...
  10:     return(new Insets(i.top+borderSize, i.left+borderSize, 

View Full Code Here
   1: 
   2:     public Insets getInsets() {
   3:         ...
   4:     Insets i = super.getInsets();
   5:         ...
   6:     return(new Insets(i.top+borderSize, i.left+borderSize, 
   7:               i.bottom+borderSize, i.right+borderSize));

View Full Code Here
   1:     InsetPanel buttonPanelContainer = new InsetPanel(new BorderLayout());
   2:     buttonPanelContainer.setInsets(new Insets((2*borderSize)/3, 0, 0, 0));
   3:     leftButtonPanel = new Panel(new GridLayout(1, 0, buttonGapSize, 0));
   4:         ...
   5: 
   6:     public Insets getInsets() {
   7:         ...
   8:     Insets i = super.getInsets();
   9:         ...
  10:     return(new Insets(i.top+borderSize, i.left+borderSize, 

View Full Code Here
   1: 
   2:     public Insets getInsets() {
   3:         ...
   4:     Insets i = super.getInsets();
   5:         ...
   6:     return new Insets(i.top+20, i.left+60, i.bottom+20, i.right+60);
   7:     }

View Full Code Here
   1:   public static Rectangle getInteriorArea(Container container) {
   2:     Insets insets = container.getInsets();
   3:         ...
   4:     return new Rectangle(insets.left,
   5:         ...
   6:                          insets.top,
   7:                          container.getWidth() - insets.left - insets.right,
   8:         ...
   9:                          container.getHeight() - insets.top - insets.bottom);

View Full Code Here

left

 int left
The inset from the left. This value is added to the Left of the rectangle to yield a new location for the Left edge.
Usages and Demos :

View More Examples of left
   1: 
   2:     public Insets getInsets() {
   3:         ...
   4:     Insets i = super.getInsets();
   5:         ...
   6:     return new Insets(i.top+20, i.left+60, i.bottom+20, i.right+60);
   7:     }

View Full Code Here
   1:   public static Rectangle getInteriorArea(Container container) {
   2:     Insets insets = container.getInsets();
   3:         ...
   4:     return new Rectangle(insets.left,
   5:         ...
   6:                          insets.top,
   7:         ...
   8:                          container.getWidth() - insets.left - insets.right,

View Full Code Here
   1:     {
   2:         public Piece(byte n, Insets r)
   3:         {
   4:         ...
   5: 
   6:     private static final Insets rotate(Insets r, int size)
   7:     {
   8:         ...
   9:         return new Insets(r.left, size-r.bottom, r.right, size-r.top);
  10:     }
  11:         ...
  12:                     int offs = (y+dy)*imageSize;
  13:                     for (int x = rn.left; x < rn.right; x++)

View Full Code Here
   1: import java.awt.FontMetrics;
   2: import java.awt.Insets;
   3: import java.awt.LayoutManager;
   4:         ...
   5:     @Override
   6:     protected Insets getTabInsets(int tabPlacement, int tabIndex) {
   7:         ...
   8:         Insets ins = super.getTabInsets(tabPlacement, tabIndex);
   9:         ...
  10:         return new Insets(ins.top + 2, ins.left, ins.bottom + 2, ins.right);

View Full Code Here
   1: 
   2:     protected Insets insets;
   3: 
   4:         ...
   5:         this.bottom = bottom;
   6:         this.left = left;
   7:         this.right = right;
   8:         ...
   9: 
  10:         insets = new Insets(top != null ? topHeight : 0, leftWidth, bottomHeight, rightWidth);
  11:     }
  12:         ...
  13:         b.bottom = ImageUtils.getDisabledImage(bottom);
  14:         b.left = ImageUtils.getDisabledImage(left);

View Full Code Here

bottom

 int bottom
The inset from the bottom. This value is subtracted from the Bottom of the rectangle to yield a new location for the Bottom.
Usages and Demos :

View More Examples of bottom
   1: 
   2:     public Insets getInsets() {
   3:         ...
   4:     Insets i = super.getInsets();
   5:         ...
   6:     return new Insets(i.top+20, i.left+60, i.bottom+20, i.right+60);
   7:     }

View Full Code Here
   1: 
   2:     public Insets getInsets() {
   3:         ...
   4:     Insets s = super.getInsets();
   5:         ...
   6:     return(new Insets(s.top+borderWidth, s.left+borderWidth, s.bottom+borderWidth, s.right+borderWidth));
   7:     }

View Full Code Here
   1: 
   2:     public Insets getInsets() {
   3:         ...
   4:     Insets s = super.getInsets();
   5:         ...
   6:     return(new Insets(s.top+borderWidth, s.left+borderWidth, s.bottom+borderWidth, s.right+borderWidth));
   7:     }

View Full Code Here
   1:   public static Rectangle getInteriorArea(Container container) {
   2:     Insets insets = container.getInsets();
   3:         ...
   4:     return new Rectangle(insets.left,
   5:                          insets.top,
   6:         ...
   7:                          container.getWidth() - insets.left - insets.right,
   8:                          container.getHeight() - insets.top - insets.bottom);
   9:   }
  10:         ...
  11:     return new Dimension(container.getWidth() - insets.left - insets.right,
  12:                          container.getHeight() - insets.top - insets.bottom);

View Full Code Here
   1:     {
   2:         public Piece(byte n, Insets r)
   3:         {
   4:         ...
   5: 
   6:     private static final Insets rotate(Insets r, int size)
   7:     {
   8:         ...
   9:         return new Insets(r.left, size-r.bottom, r.right, size-r.top);
  10:     }
  11:         ...
  12:                 int dy = quadSize*(n>>1);
  13:                 for (int y = rn.top; y < rn.bottom; y++)

View Full Code Here

right

 int right
The inset from the right. This value is subtracted from the Right of the rectangle to yield a new location for the Right edge.
Usages and Demos :

View More Examples of right
   1: 
   2:     public Insets getInsets() {
   3:         ...
   4:     Insets i = super.getInsets();
   5:         ...
   6:     return new Insets(i.top+20, i.left+60, i.bottom+20, i.right+60);
   7:     }

View Full Code Here
   1:   public static Rectangle getInteriorArea(Container container) {
   2:     Insets insets = container.getInsets();
   3:         ...
   4:     return new Rectangle(insets.left,
   5:                          insets.top,
   6:         ...
   7:                          container.getWidth() - insets.left - insets.right,
   8:                          container.getHeight() - insets.top - insets.bottom);
   9:         ...
  10:     Insets insets = container.getInsets();
  11:     return new Dimension(container.getWidth() - insets.left - insets.right,

View Full Code Here
   1:     {
   2:         public Piece(byte n, Insets r)
   3:         {
   4:         ...
   5: 
   6:     private static final Insets rotate(Insets r, int size)
   7:     {
   8:         ...
   9:         return new Insets(r.left, size-r.bottom, r.right, size-r.top);
  10:     }
  11:         ...
  12:                     int offs = (y+dy)*imageSize;
  13:                     for (int x = rn.left; x < rn.right; x++)

View Full Code Here
   1: import java.awt.FontMetrics;
   2: import java.awt.Insets;
   3: import java.awt.LayoutManager;
   4:         ...
   5:     @Override
   6:     protected Insets getTabInsets(int tabPlacement, int tabIndex) {
   7:         ...
   8:         Insets ins = super.getTabInsets(tabPlacement, tabIndex);
   9:         ...
  10:         return new Insets(ins.top + 2, ins.left, ins.bottom + 2, ins.right);

View Full Code Here
   1: 
   2:     protected Insets insets;
   3: 
   4:         ...
   5:         this.left = left;
   6:         this.right = right;
   7:         this.topleft = topLeft;
   8:         ...
   9: 
  10:         insets = new Insets(top != null ? topHeight : 0, leftWidth, bottomHeight, rightWidth);
  11:     }
  12:         ...
  13:         b.top = ImageUtils.getDisabledImage(top);
  14:         b.right = ImageUtils.getDisabledImage(right);

View Full Code Here

Class java.awt.Label extends Component implements Serializable

serialVersionUID: 3094126758329070636L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
            throws ClassNotFoundException,
                   IOException,
                   HeadlessException
Read a label from an object input stream.
Throws:
HeadlessException - if GraphicsEnvironment.isHeadless() returns true
Since:
1.4

Serialized Fields

text

 String text
The text of this label. This text can be modified by the program but never by the user.

alignment

 int alignment
The label's alignment. The default alignment is set to be left justified.

Class java.awt.Label.AccessibleAWTLabel extends Component.AccessibleAWTComponent implements Serializable

serialVersionUID: -3568967560160480438L

Class java.awt.List extends Component implements Serializable

serialVersionUID: -3304312411574666869L

Serialization Methods

writeObject

private void writeObject(ObjectOutputStream s)
            throws IOException
Writes default serializable fields to stream. Writes a list of serializable ItemListeners and ActionListeners as optional data. The non-serializable listeners are detected and no attempt is made to serialize them.
Parameters:
s - the ObjectOutputStream to write

readObject

private void readObject(ObjectInputStream s)
            throws ClassNotFoundException,
                   IOException,
                   HeadlessException
Reads the ObjectInputStream and if it isn't null adds a listener to receive both item events and action events (as specified by the key stored in the stream) fired by the List. Unrecognized keys or values will be ignored.
Parameters:
s - the ObjectInputStream to write
Throws:
HeadlessException - if GraphicsEnvironment.isHeadless returns true

Serialized Fields

items

 Vector<E> items
A vector created to contain items which will become part of the List Component.
See Also:
addItem(String), List.getItem(int)

rows

 int rows
This field will represent the number of visible rows in the List Component. It is specified only once, and that is when the list component is actually created. It will never change.

multipleMode

 boolean multipleMode
multipleMode is a variable that will be set to true if a list component is to be set to multiple selection mode, that is where the user can select more than one item in a list at one time. multipleMode will be set to false if the list component is set to single selection, that is where the user can only select one item on the list at any one time.

selected

 int[] selected
selected is an array that will contain the indices of items that have been selected.

visibleIndex

 int visibleIndex
This variable contains the value that will be used when trying to make a particular list item visible.

listSerializedDataVersion

 int listSerializedDataVersion
The List component's Serialized Data Version.

Class java.awt.List.AccessibleAWTList extends Component.AccessibleAWTComponent implements Serializable

serialVersionUID: 7924617370136012829L

Class java.awt.List.AccessibleAWTList.AccessibleAWTListChild extends Component.AccessibleAWTComponent implements Serializable

serialVersionUID: 4412022926028300317L

Serialized Fields

parent

 List parent

indexInParent

 int indexInParent

Class java.awt.MediaTracker extends Object implements Serializable

serialVersionUID: -483174189758638095L

Serialized Fields

target

 Component target
A given Component that will be tracked by a media tracker where the image will eventually be drawn.

head

 java.awt.MediaEntry head
The head of the list of Images that is being tracked by the MediaTracker.

Class java.awt.Menu extends MenuItem implements Serializable

serialVersionUID: -8809584163345499784L

Serialization Methods

writeObject

private void writeObject(ObjectOutputStream s)
            throws IOException
Writes default serializable fields to stream.
Parameters:
s - the ObjectOutputStream to write

readObject

private void readObject(ObjectInputStream s)
            throws IOException,
                   ClassNotFoundException,
                   HeadlessException
Reads the ObjectInputStream. Unrecognized keys or values will be ignored.
Parameters:
s - the ObjectInputStream to read
Throws:
HeadlessException - if GraphicsEnvironment.isHeadless returns true
See Also:
GraphicsEnvironment.isHeadless(), writeObject(ObjectOutputStream)

Serialized Fields

items

 Vector<E> items
A vector of the items that will be part of the Menu.
See Also:
countItems()

tearOff

 boolean tearOff
This field indicates whether the menu has the tear of property or not. It will be set to true if the menu has the tear off property and it will be set to false> if it does not. A torn off menu can be deleted by a user when it is no longer needed.

isHelpMenu

 boolean isHelpMenu
This field will be set to true if the Menu in question is actually a help menu. Otherwise it will be set to false.

menuSerializedDataVersion

 int menuSerializedDataVersion
The menu serialized Data Version.

Class java.awt.Menu.AccessibleAWTMenu extends MenuItem.AccessibleAWTMenuItem implements Serializable

serialVersionUID: 5228160894980069094L

Class java.awt.MenuBar extends MenuComponent implements Serializable

serialVersionUID: -4930327919388951260L

Serialization Methods

writeObject

private void writeObject(ObjectOutputStream s)
            throws ClassNotFoundException,
                   IOException
Writes default serializable fields to stream.
Parameters:
s - the ObjectOutputStream to write
See Also:
AWTEventMulticaster.save(ObjectOutputStream,String,EventListener), readObject(java.io.ObjectInputStream)

readObject

private void readObject(ObjectInputStream s)
            throws ClassNotFoundException,
                   IOException,
                   HeadlessException
Reads the ObjectInputStream. Unrecognized keys or values will be ignored.
Parameters:
s - the ObjectInputStream to read
Throws:
HeadlessException - if GraphicsEnvironment.isHeadless returns true
See Also:
GraphicsEnvironment.isHeadless(), writeObject(java.io.ObjectOutputStream)

Serialized Fields

menus

 Vector<E> menus
This field represents a vector of the actual menus that will be part of the MenuBar.
See Also:
countMenus()

helpMenu

 Menu helpMenu
This menu is a special menu dedicated to help. The one thing to note about this menu is that on some platforms it appears at the right edge of the menubar.

menuBarSerializedDataVersion

 int menuBarSerializedDataVersion
The MenuBar's serialized data version.

Class java.awt.MenuBar.AccessibleAWTMenuBar extends MenuComponent.AccessibleAWTMenuComponent implements Serializable

serialVersionUID: -8577604491830083815L

Class java.awt.MenuComponent extends Object implements Serializable

serialVersionUID: -4536902356223894379L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
            throws ClassNotFoundException,
                   IOException,
                   HeadlessException
Reads the menu component from an object input stream.
Parameters:
s - the ObjectInputStream to read
Throws:
HeadlessException - if GraphicsEnvironment.isHeadless returns true

Serialized Fields

font

 Font font
The menu component's font. This value can be null at which point a default will be used. This defaults to null.

name

 String name
The menu component's name, which defaults to null.

nameExplicitlySet

 boolean nameExplicitlySet
A variable to indicate whether a name is explicitly set. If true the name will be set explicitly. This defaults to false.

newEventsOnly

 boolean newEventsOnly
Defaults to false.

accessibleContext

 AccessibleContext accessibleContext

Class java.awt.MenuComponent.AccessibleAWTMenuComponent extends AccessibleContext implements Serializable

serialVersionUID: -4269533416223798698L

Class java.awt.MenuItem extends MenuComponent implements Serializable

serialVersionUID: -21757335363267194L

Serialization Methods

writeObject

private void writeObject(ObjectOutputStream s)
            throws IOException
Writes default serializable fields to stream. Writes a list of serializable ActionListeners as optional data. The non-serializable listeners are detected and no attempt is made to serialize them.
Parameters:
s - the ObjectOutputStream to write

readObject

private void readObject(ObjectInputStream s)
            throws ClassNotFoundException,
                   IOException,
                   HeadlessException
Reads the ObjectInputStream and if it isn't null adds a listener to receive action events fired by the Menu Item. Unrecognized keys or values will be ignored.
Parameters:
s - the ObjectInputStream to read
Throws:
HeadlessException - if GraphicsEnvironment.isHeadless returns true
See Also:
removeActionListener(actionListener), addActionListener(actionListener), writeObject(ObjectOutputStream)

Serialized Fields

enabled

 boolean enabled
A value to indicate whether a menu item is enabled or not. If it is enabled, enabled will be set to true. Else enabled will be set to false.

label

 String label
label is the label of a menu item. It can be any string.

actionCommand

 String actionCommand
This field indicates the command tha has been issued by a particular menu item. By default the actionCommand is the label of the menu item, unless it has been set using setActionCommand.

eventMask

 long eventMask
The eventMask is ONLY set by subclasses via enableEvents. The mask should NOT be set when listeners are registered so that we can distinguish the difference between when listeners request events and subclasses request them.

shortcut

 MenuShortcut shortcut
A sequence of key stokes that ia associated with a menu item. Note :in 1.1.2 you must use setActionCommand() on a menu item in order for its shortcut to work.

menuItemSerializedDataVersion

 int menuItemSerializedDataVersion
Menu item serialized data version.

Class java.awt.MenuItem.AccessibleAWTMenuItem extends MenuComponent.AccessibleAWTMenuComponent implements Serializable

serialVersionUID: -217847831945965825L

Class java.awt.MenuShortcut extends Object implements Serializable

serialVersionUID: 143448358473180225L

Serialized Fields

key

 int key
The virtual keycode for the menu shortcut. This is the keycode with which the menu shortcut will be created. Note that it is a virtual keycode, not a character, e.g. KeyEvent.VK_A, not 'a'. Note: in 1.1.x you must use setActionCommand() on a menu item in order for its shortcut to work, otherwise it will fire a null action command.
Since:
JDK1.1

usesShift

 boolean usesShift
Indicates whether the shft key was pressed. If true, the shift key was pressed. If false, the shift key was not pressed
Since:
JDK1.1

Class java.awt.Panel extends Container implements Serializable

serialVersionUID: -2728009084054400034L

Class java.awt.Panel.AccessibleAWTPanel extends Container.AccessibleAWTContainer implements Serializable

serialVersionUID: -6409552226660031050L

Class java.awt.Point extends Point2D implements Serializable

serialVersionUID: -5276940640259749850L

Serialized Fields

x

 int x
The x coordinate. If no x coordinate is set it will default to 0.
Usages and Demos :

View More Examples of x
   1: 
   2:   static Point add (Point p, int dx, int dy) {
   3:         ...
   4:     return new Point(p.x+dx, p.y+dy);
   5:   }
   6:         ...
   7: 
   8:   static Point scale (Point p, double s) {
   9:         ...
  10:     return new Point((int)(p.x*s), (int)(p.y*s));

View Full Code Here
   1:    }else{
   2:      lc = (Point) value;
   3:    }
   4:         ...
   5:     }else{
   6:       return lc.x + "; " + lc.y;
   7:     }
   8:         ...
   9:     ar[1]=ar[1].substring(1);
  10:     lc=new Point((new Integer(ar[0])).intValue(),(new Integer(ar[1])).intValue());
  11:     firePropertyChange();
  12:         ...
  13:   public String getScript(Object val) {
  14:     Point p = (Point)val;

View Full Code Here
   1:         willChange();
   2:         Point start = startPoint();
   3:         ...
   4:         Point end = endPoint();
   5:         fPoints.clear();
   6:         ...
   7: 
   8:         if (start.x == end.x || start.y == end.y) {
   9:             fPoints.add(end);
  10:         ...
  11: 
  12:             int dir = Geom.direction(r1.x + r1.width/2, r1.y + r1.height/2,

View Full Code Here
   1: 
   2: import java.awt.Point;
   3: import java.awt.Rectangle;
   4:         ...
   5:         willChange();
   6:         Point start = startPoint();
   7:         ...
   8:         Point end = endPoint();
   9:         fPoints.removeAllElements();
  10:         ...
  11: 
  12:         if (start.x == end.x || start.y == end.y) {

View Full Code Here
   1:     public void paintComponent(Graphics g) {
   2:         Point pos = this.getLocationOnScreen();
   3:         ...
   4:         Point offset = new Point(-pos.x,-pos.y);
   5:         ...
   6:         g.drawImage(background,offset.x,offset.y,null);
   7:     }
   8:         ...
   9:                     if(frame.isVisible()) {
  10:                         Point location = frame.getLocation();

View Full Code Here

y

 int y
The y coordinate. If no y coordinate is set it will default to 0.
Usages and Demos :

View More Examples of y
   1: 
   2:   static Point add (Point p, int dx, int dy) {
   3:         ...
   4:     return new Point(p.x+dx, p.y+dy);
   5:   }
   6:         ...
   7: 
   8:   static Point scale (Point p, double s) {
   9:         ...
  10:     return new Point((int)(p.x*s), (int)(p.y*s));

View Full Code Here
   1: import java.awt.Color;
   2: import java.awt.Point;
   3: 
   4:         ...
   5:     protected boolean test(ComponentAdapter adapter) {
   6:         Point p = (Point) adapter.getComponent().getClientProperty(
   7:                 RolloverProducer.ROLLOVER_KEY);
   8:         ...
   9:         return p != null &&  p.y == adapter.row;
  10:     }

View Full Code Here
   1:    }else{
   2:      lc = (Point) value;
   3:    }
   4:         ...
   5:     }else{
   6:       return lc.x + "; " + lc.y;
   7:     }
   8:         ...
   9:     ar[1]=ar[1].substring(1);
  10:     lc=new Point((new Integer(ar[0])).intValue(),(new Integer(ar[1])).intValue());
  11:     firePropertyChange();
  12:         ...
  13:   public String getScript(Object val) {
  14:     Point p = (Point)val;

View Full Code Here
   1:         willChange();
   2:         Point start = startPoint();
   3:         ...
   4:         Point end = endPoint();
   5:         fPoints.clear();
   6:         ...
   7: 
   8:         if (start.x == end.x || start.y == end.y) {
   9:             fPoints.add(end);
  10:         ...
  11: 
  12:             int dir = Geom.direction(r1.x + r1.width/2, r1.y + r1.height/2,

View Full Code Here
   1: 
   2: import java.awt.Point;
   3: import java.awt.Rectangle;
   4:         ...
   5:         willChange();
   6:         Point start = startPoint();
   7:         ...
   8:         Point end = endPoint();
   9:         fPoints.removeAllElements();
  10:         ...
  11: 
  12:         if (start.x == end.x || start.y == end.y) {

View Full Code Here

Class java.awt.Polygon extends Object implements Serializable

serialVersionUID: -6460061437900069969L

Serialized Fields

npoints

 int npoints
The total number of points. The value of npoints represents the number of valid points in this Polygon and might be less than the number of elements in xpoints or ypoints. This value can be NULL.
Usages and Demos :

View More Examples of npoints
   1:   UndoableEditSupport undoableEditSupport = new UndoableEditSupport(this);
   2:   Polygon polygon = new Polygon();
   3: 
   4:         ...
   5:     Polygon returnValue;
   6:     if (polygon.npoints == 0) {
   7:       returnValue = new Polygon();
   8:         ...
   9:     } else {
  10:       returnValue = new Polygon(polygon.xpoints, polygon.ypoints, polygon.npoints);
  11:     }

View Full Code Here
   1:        
   2:         List<Polygon> polys = mapData.getPolygons(territory);
   3:         
   4:         ...
   5:         
   6:         Iterator<Polygon>  polyIter = polys.iterator();
   7:         while (polyIter.hasNext())
   8:         ...
   9:         {
  10:             Polygon polygon = polyIter.next();
  11:             
  12:         ...
  13:             
  14:             polygon = new Polygon(polygon.xpoints, polygon.ypoints, polygon.npoints);

View Full Code Here
   1:   int order;
   2:   Polygon poly;
   3:   int offset;
   4:         ...
   5:     nwOfWindow = new Point(0,0);
   6:     poly = new Polygon();
   7:   }
   8:         ...
   9:     drawPolyline(b, scaleFactor, poly.xpoints, poly.ypoints,
  10:                            poly.npoints);
  11:   }

View Full Code Here
   1:   int scaleFactor;
   2:   Polygon poly;
   3:   int offset;
   4:         ...
   5:       (int)((windowSize*1.0) / curvesize(order));
   6:     poly = new Polygon();
   7:     hilbert(order);
   8:         ...
   9:     g.drawPolyline(poly.xpoints, poly.ypoints,
  10:                                  poly.npoints);
  11:   }

View Full Code Here
   1: public class UndoableDrawingPanel2 extends JPanel implements StateEditable {
   2:   private static String POLYGON_KEY = "Polygon";
   3:   UndoableEditSupport undoableEditSupport = new UndoableEditSupport(this);
   4:         ...
   5:   Polygon polygon = new Polygon();
   6: 
   7:         ...
   8:     Polygon returnValue;
   9:     if (polygon.npoints == 0) {
  10:       returnValue = new Polygon();
  11:         ...
  12:       returnValue = new Polygon(
  13:         polygon.xpoints, polygon.ypoints, polygon.npoints);

View Full Code Here

xpoints

 int[] xpoints
The array of x coordinates. The number of elements in this array might be more than the number of x coordinates in this Polygon. The extra elements allow new points to be added to this Polygon without re-creating this array. The value of npoints is equal to the number of valid points in this Polygon.
Usages and Demos :

View More Examples of xpoints
   1:   UndoableEditSupport undoableEditSupport = new UndoableEditSupport(this);
   2:   Polygon polygon = new Polygon();
   3: 
   4:         ...
   5:     } else {
   6:       returnValue = new Polygon(polygon.xpoints, polygon.ypoints, polygon.npoints);
   7:     }
   8:     return returnValue;
   9:   }

View Full Code Here
   1:        
   2:         List<Polygon> polys = mapData.getPolygons(territory);
   3:         
   4:         ...
   5:         
   6:         Iterator<Polygon>  polyIter = polys.iterator();
   7:         while (polyIter.hasNext())
   8:         ...
   9:         {
  10:             Polygon polygon = polyIter.next();
  11:             
  12:         ...
  13:             
  14:             polygon = new Polygon(polygon.xpoints, polygon.ypoints, polygon.npoints);

View Full Code Here
   1:     s5 = enterDisplayElement(new Oval(Color2));
   2:         s6 = enterDisplayElement(new PolyLineClosed(Color2, new Polygon(x, y, 4)));
   3:         s7 = enterDisplayElement(new Bar(Color1));
   4:         ...
   5:     PolyLineClosed l = (PolyLineClosed)getDisplayElement(s6);
   6:     Polygon lt = l.getPolygon();
   7:         ...
   8:     lt.xpoints[0] = 0;
   9:     lt.ypoints[0] = (int)(4*h/12);
  10:         ...
  11:     lt.xpoints[1] = (int)(