java-gnome version 4.0.7

org.freedesktop.bindings
Class Constant

java.lang.Object
  extended by org.freedesktop.bindings.Constant
Direct Known Subclasses:
AccelFlags, Alignment, AnchorType, Antialias, ArgFlags, ArrowType, AssistantPageType, AttachOptions, AttrType, AxisUse, ButtonAction, ButtonBoxStyle, ButtonsType, ByteOrder, CapStyle, CellRendererAccelMode, CellRendererMode, CellType, Colorspace, CoordType, CornerType, CoverageLevel, CrossingMode, CurveType, DebugFlag, DeleteType, DestDefaults, Direction, DirectionType, DragAction, DragProtocol, EllipsizeMode, EventType, ExpanderStyle, ExtensionMode, FileChooserAction, FileChooserConfirmation, FileChooserError, FileInfoType, FileSystemError, Fill, FillRule, FilterReturn, Flag, FontType, Format, Function, GrabStatus, Gravity, Gravity, GravityHint, HyperlinkStateFlags, IconLookupFlags, IconSize, IconThemeError, IconViewDropPosition, ImageType, IMPreeditStyle, IMStatusStyle, InputCondition, InputMode, InputSource, InterpType, JoinStyle, Justification, KeyEventType, Keyval, Layer, LineStyle, MatchType, MenuDirectionType, MessageType, MetricType, MouseButton, MovementStep, NotebookTab, NotifyType, Operator, Orientation, OverlapType, OwnerChange, PackDirection, PackType, PageOrientation, PageSet, PathPriorityType, PathType, PixbufAlphaMode, PixbufError, PixbufRotation, PolicyType, PositionType, PrintDuplex, PrintError, PrintOperationAction, PrintOperationResult, PrintPages, PrintQuality, PrintStatus, PrivateFlags, ProgressBarOrientation, PropertyState, PropMode, RcFlags, RcTokenType, RecentChooserError, RecentManagerError, RecentSortType, RelationType, ReliefStyle, RenderPart, ResizeMode, ResponseType, RgbDither, Role, Script, ScrollDirection, ScrollStep, ScrollType, SelectionMode, SensitivityType, SettingAction, ShadowType, SideType, SignalRunType, SizeGroupMode, SortType, SpinButtonUpdatePolicy, SpinType, StateType, StateType, Status, Stretch, Style, SubwindowMode, TabAlign, TargetFlags, TextAttribute, TextBoundary, TextBufferTargetInfo, TextClipType, TextDirection, TextSearchFlags, TextWindowType, ToolbarSpaceStyle, ToolbarStyle, TreeViewColumnSizing, TreeViewDropPosition, TreeViewGridLines, TreeViewMode, UIManagerItemType, Underline, Unit, UpdateType, Variant, Visibility, VisibilityState, VisualType, Weight, WidgetHelpType, WindowAttributesType, WindowClass, WindowEdge, WindowHints, WindowPosition, WindowType, WindowTypeHint, WMDecoration, WMFunction, WrapMode, WrapMode

public abstract class Constant
extends java.lang.Object

Representation of enumerated constants. Enums are very fundamental in most libraries but are ordinal integers handled by the compiler as constants; they are not passed around by pointer. For that, we have the Proxy class.

Note that this has nothing to do with the enum mechanism introduced in Java 1.5.

Since:
4.0.0
Author:
Andrew Cowie

Method Summary
 java.lang.String toString()
          Return the name of the Constant class and the name of the constant itself.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

public java.lang.String toString()
Return the name of the Constant class and the name of the constant itself. For example,
 WindowType.POPUP
 

Overrides:
toString in class java.lang.Object
Since:
4.0.1


java-gnome