GLG Toolkit, Java Class Library
Version 4.5
|
Custom bean. More...
Custom bean.
Extends GlgJBean by providing functionality to browse and edit bean properties in an IDE environment.
Inherits GlgJBean.
Additional Inherited Members | |
![]() | |
GlgJBean () | |
Constructor. More... | |
Object | AddListener (int listener_type, Object listener) |
Adds an event listener to the bean. More... | |
boolean | AddObjectAt (GlgObject container, Object object, int index) |
Adds an object at the specified position inside the container. More... | |
boolean | AddObjectToBottom (GlgObject container, Object object) |
Adds an object at the end of the container. More... | |
boolean | AddObjectToTop (GlgObject container, Object object) |
Adds an object at the end of the container. More... | |
void | Bell () |
Emits an audio beep. More... | |
GlgObject | CloneObject (GlgObject glg_object, int clone_type) |
Creates a specialized copy (clone) of an object. More... | |
boolean | ConstrainObject (GlgObject from_attribute, GlgObject to_attribute) |
Constrains an attribute or a point of the object to an attribute or a point of another object. More... | |
boolean | ContainsObject (GlgObject container, Object object) |
Checks if object belongs to the container. More... | |
GlgObject | CopyObject (GlgObject glg_object) |
Creates a copy of the object. More... | |
String | CreateIndexedName (String template_name, int resource_index) |
Creates a string with a name of an enumerated resource. More... | |
boolean | DeleteBottomObject (GlgObject container) |
Deletes an object from the bottom of the container. More... | |
boolean | DeleteObject (GlgObject container, Object object) |
Finds and deletes an object from the container. More... | |
boolean | DeleteObjectAt (GlgObject container, int index) |
Deletes an object from the specified position in the container. More... | |
boolean | DeleteTopObject (GlgObject container) |
Deletes an object from the beginning of the container. More... | |
boolean | ExportPostScript (String filename, double x, double y, double width, double height, boolean portrait, boolean stretch, boolean center) |
Generates a PostScript output of the current state of the bean drawing's graphics. More... | |
String | GetCharsetName () |
Returns the value of the CharsetName property. More... | |
String | GetDrawingFile () |
Returns the value of the DrawingFile property. More... | |
GlgObject | GetDrawingObject () |
Queries the value of the DrawingObject property. More... | |
String | GetDrawingURL () |
Returns the value of the DrawingURL property. More... | |
double | GetDResource (String resource_name) |
Returns the current value of a D (double) resource of the bean's viewport. More... | |
double | GetDTag (String tag_source) |
Returns the current value of a D (double) tag of the bean's viewport. More... | |
Object | GetElement (GlgObject container, int index) |
Returns element at the specified position in the container. More... | |
GlgPoint | GetGResource (String resource_name) |
Returns the current value of a G (color or point) resource of the bean's viewport. More... | |
int | GetIndex (GlgObject container, Object object) |
Returns index of the first occurrence of an object in the container. More... | |
GlgObject | GetNamedObject (GlgObject container, String name) |
Finds an object with the specified name inside the container of GLG objects and returns it. More... | |
int | GetNumParents (GlgObject glg_object) |
ADVANCED: Returns number of the object's parents. More... | |
GlgObject | GetParent (GlgObject glg_object) |
ADVANCED: Returns an object's parent object, if one exists., or an array of all parents for constrained data objects. More... | |
Object | GetResource (GlgObject glg_object, String resource_name) |
Deprecated, use GetNativeComponent: Returns an ID of a native resource. More... | |
GlgObject | GetResourceObject (GlgObject glg_object, String resource_name) |
Finds and returns a named resource or an attribute of the object. More... | |
int | GetSize (GlgObject container) |
Returns size of the container object. More... | |
String | GetSResource (String resource_name) |
Returns the current value of an S (string) resource of the bean's viewport. More... | |
String | GetSTag (String tag_source) |
Returns the current value of an S (string) tag of the bean's viewport. More... | |
GlgObject | GetViewport () |
Returns the bean's viewport object. More... | |
double | GetXResource (String resource_name) |
Returns the X value of a G (geometrical or color) resource of the bean's viewport. More... | |
double | GetYResource (String resource_name) |
Returns the Y value of a G (geometrical or color) resource of the bean's viewport. More... | |
double | GetZResource (String resource_name) |
Returns the Z value of a G (geometrical or color) resource of the bean's viewport. More... | |
boolean | HasResourceObject (String resource_name) |
Checks for the existence of a resource object in the bean's viewport. More... | |
boolean | HasTagName (String tag_name) |
Checks if a data tag with a specified tag name exists in the bean's viewport. More... | |
boolean | HasTagSource (String tag_source) |
Checks if a data tag with a specified tag source exists in the bean's viewport. More... | |
void | HCallback (GlgObject viewport) |
H callback. More... | |
void | HierarchyCallback (GlgObject top_viewport, GlgHierarchyData hierarchy_info) |
Hierarchy callback. More... | |
void | InitialDraw (GlgObject glg_object) |
Draws a GLG viewport object for the first time after it has been created or loaded. More... | |
void | InputCallback (GlgObject vp, GlgObject message_obj) |
Input callback. More... | |
void | Inverse (GlgObject container) |
Inverses the order of elements inside the container object. More... | |
boolean | IsDemo () |
Checks the type of the GLG library. More... | |
boolean | IsReady () |
Queries the ready state of the bean. More... | |
Object | Iterate (GlgObject container) |
Traverses the container object's elements in the forward direction. More... | |
Object | IterateBack (GlgObject container) |
Traverses the container object's elements in the backward direction. More... | |
GlgObject | LoadObject (String filename, int medium_type) |
Loads an object from a file or URL using the default charset. More... | |
GlgObject | LoadObject (String filename, int medium_type, String charset_name) |
Loads an object from a file or URL using the specified charset. More... | |
GlgObject | LoadWidget (GlgObject glg_object) |
Finds a viewport named $Widget inside an object and returns it. More... | |
GlgObject | LoadWidget (String filename, int medium_type) |
Loads a viewport named $Widget from a file or URL using default charset. More... | |
GlgObject | LoadWidget (String filename, int medium_type, String charset_name) |
Loads a viewport named $Widget from a file or URL using the specified charset. More... | |
void | ReadyCallback (GlgObject viewport) |
Ready callback. More... | |
void | ReleaseObject (GlgObject glg_object, GlgObject suspend_info) |
Releases the object that was suspended for editing. More... | |
boolean | ReorderElement (GlgObject container, int old_index, int new_index) |
Changes an element's position inside the container. More... | |
void | Reset () |
This method invokes the corresponding method of the bean's viewport. More... | |
void | ResetHierarchy (GlgObject glg_object) |
Resets the object hierarchy of the object. More... | |
boolean | SaveObject (GlgObject glg_object, String filename) |
Saves the object to a file using a default charset. More... | |
boolean | SaveObject (GlgObject glg_object, String filename, String charset_name) |
Saves an object into a file using the specified charset. More... | |
void | SelectCallback (GlgObject vp, Object[] name_array, int button) |
Select callback. More... | |
boolean | SetAutoUpdateOnInput (boolean update) |
Enabled or disables automatic updates on input events. More... | |
void | SetCharsetName (String charset_name) |
Sets the CharsetName property. More... | |
void | SetDrawingFile (String drawing_file) |
Sets the DrawingFile property. More... | |
boolean | SetDrawingObject (GlgObject drawing_object) |
Sets the DrawingObject property to a GLG object to be used as the bean's viewport. More... | |
void | SetDrawingURL (String drawing_url) |
Sets the DrawingURL property. More... | |
boolean | SetDResource (String resource_name, double value) |
Sets a new value of a D (double) resource of the bean's viewport. More... | |
boolean | SetDResource (String resource_name, double value, boolean if_changed) |
Sets a new value of a D (double) resource of the bean's viewport. More... | |
boolean | SetDTag (String tag_source, double value, boolean if_changed) |
Sets a new value of a D (double) tag of the bean's viewport. More... | |
void | SetEnd (GlgObject container) |
Initializes the container object for the backward traversing. More... | |
boolean | SetGResource (String resource_name, double value1, double value2, double value3) |
Sets a new value of a G (geometrical or color) resource of the bean's viewport. More... | |
boolean | SetGResource (String resource_name, double value1, double value2, double value3, boolean if_changed) |
Sets a new value of a G (geometrical or color) resource of the bean's viewport. More... | |
boolean | SetGTag (String tag_source, GlgPoint gvalue, boolean if_changed) |
Sets a new value of a G (geometrical or color) tag of the bean's viewport. More... | |
boolean | SetResourceFromObject (GlgObject glg_object, String resource_name, GlgObject value) |
Sets a new value of the object's resource to the value of contained in the provided data object of the same data type. More... | |
boolean | SetResourceObject (GlgObject glg_object, String resource_name, GlgObject value) |
Replaces a resource object inside the object the method is invoked on. More... | |
boolean | SetSResource (String resource_name, String value) |
Sets a new value of an S (string) resource of the bean's viewport. More... | |
boolean | SetSResource (String resource_name, String value, boolean if_changed) |
Sets a new value of an S (string) resource of the bean's viewport. More... | |
boolean | SetSResourceFromD (GlgObject glg_object, String resource_name, String format, double value) |
Sets the value of the object's S (string) resource from a double value, converting the value into a string using a C-style printf format string. More... | |
boolean | SetSTag (String tag_source, String value, boolean if_changed) |
Sets a new value of an S (string) tag of the bean's viewport. More... | |
void | SetStart (GlgObject container) |
Initializes the container object for the forward traversing. More... | |
void | SetupHierarchy (GlgObject glg_object) |
Provides an explicit request to set up the object hierarchy of the object without rendering it. More... | |
boolean | SetXform (GlgObject glg_object, GlgObject xform) |
Adds or deletes transformations attached to the object. More... | |
boolean | SetZoom (String resource_name, char type, double value) |
Provides a programmatic interface to integrated zooming and panning. More... | |
GlgObject | SuspendObject (GlgObject glg_object) |
Suspends the object for editing after it has been drawn. More... | |
void | Trace2Callback (GlgObject top_viewport, GlgTraceData trace_info) |
This method is invoked to handle any events in the bean's drawing and may be overridden by bean's subclasses to implement custom event handling logic. More... | |
void | TraceCallback (GlgObject top_viewport, GlgTraceData trace_info) |
Trace callback. More... | |
boolean | UnconstrainObject (GlgObject glg_object) |
Unconstrains an object's attribute or an object's point. More... | |
void | Update () |
Updates the bean's drawing with the latest resource values. More... | |
void | VCallback (GlgObject viewport) |
V callback. More... | |
![]() | |
boolean | SelectEnabled |
Enables or disables the bean's Select callback; is set to false by default. More... | |
boolean | TraceEnabled |
Enables or disables the bean's Trace callback; is set to false by default. More... | |
boolean | Trace2Enabled |
Enables or disables the bean's Trace2 callback; is set to false by default. More... | |
boolean | HierarchyEnabled |
Enables or disables the bean's Hierarchy callback; is set to false by default. More... | |