Feature Index
Samples that use a JViews class
Topics covered by each sample
Name | Topic(s) |
---|---|
Data Source - Custom Business Classes | • Subclassing • Creating an java.io.File instances• Subclassing Long to Date . This conversion is used for the last Modified attribute (see • Implementing |
Data Source - JavaBeans | • Subclassing • Using |
Equipment Component - Basic | • Initializing a JTGO application • Creating an equipment component • Loading a project file containing component configuration and data source configuration |
Equipment Component - Custom Classes | • Basic initialization
See the equipment/basic sample for details
• Extending the predefined business classes • Mapping extended attributes to graphic properties using cascading style sheets |
Equipment Component - Data Source API | • Initializing a JTGO application using a deployment descriptor • Creating an equipment component • Using a mutable style sheet to dynamically modify the CSS configuration • Using the data source API to define business object relationships • Using the data source API to add business objects |
Equipment Component - Editor | • Initializing a JTGO application • Creating an equipment component • Creating shelves and card carriers • Creating cards • Creating ports and LEDs • Creating equipment templates by drag-and-drop |
Equipment Component - Image Renderer | • Basic initialization
See the equipment/basic sample for details
• Extending the predefined card and port types • Listening to object state changes • Mapping attributes to graphic properties using cascading style sheets |
Equipment Component - Performance | • Time to fill the data source • Time to get a first display • Total time from the start of the sample to the end of the display • Time to update an attribute in all the objects and display the results • Time to clear the data source and display the results |
Equipment Component - Styling | • Initializing a JTGO application using a deployment descriptor • Creating a data source • Reading data from an XML file into a data source • Creating an equipment component and configuring it using multiple CSS configuration files • Associating the data source with the equipment component |
Image Color Tuner | • Creating network elements. • Creating new network element types. • Configuring the best image parameters to use a given image as the base of a predefined business object. |
Integration - Customization | • Customizing the JTGO graphic Components: Network, Table and Tree • Creating and applying new base renderers for network elements • Customizing new and predefined types of network elements • Customizing the graphic representation of object states: Bellcore and SONET • Customizing predefined links • Creating new link medium • Customizing alarm representation • Customizing JTGO decorations: Information icon • Integrating the JTGO graphic Components: Network, Table and Tree |
Integration - Monitoring | •
Integrating the various JTGO components: Network, Equipment, Table and Tree.
• Browsing relationships using the Tree and the Network Components. • Using filters and origins to limit the objects coming from the data sources. • Applying configuration to components. • Using actions to share information between components. • Creating objects programmatically. |
Integration - SNMP | •
Integrating the various Perforce JViews TGO graphic components: Network, Table and Tree.
• Browsing relationships using the Tree and the Network components. • Using filters and origins to limit the objects coming from data sources. • Applying configuration to components. • Using actions to share information between components. • Creating nodes programatically. • Setting SNMP information. • Creating new SNMP attributes. • Loading and saving XML information. • Using JavaBeans to display trap and log messages in a Perforce JViews TGO Table component. • Connecting the application with real resources using the Simple Network Management Protocol. • Using internationalization support with Perforce JViews TGO. |
JSF Equipment Component - Image Renderer | • Use of realistic images as the equipment and business objects • JViews TGO Faces Equipment View Component • JViews TGO Faces Client Select Interactor • JViews Framework Faces Overview within JViews TGO • JViews Framework Faces Contextual Menu within JViews TGO • Integration of Server Actions in the Contextual Menu • Integration of Client Actions in the Contextual Menu • JViews Framework Faces Interactors within JViews TGO • JViews Framework Faces Image Button within JViews TGO • JViews Framework Faces Message Box within JViews TGO • JViews Framework Faces Contextual Menu Control • Advanced Look-And-Feel customization • Styling Customization of JViews Framework and TGO Faces Components |
JSF Equipment Component - Step-By-Step | • JViews TGO Faces Equipment View Component • Using the project tag attribute• Using the dataSourceId tag attribute• Using the styleSheets tag attribute• Using the data tag attribute• Using the binding tag attribute• JViews Framework Faces Overview within JViews TGO • JViews Framework Faces Zoom Tool within JViews TGO • JViews Framework Faces Pan Tool within JViews TGO • JViews Framework Faces Image Button within JViews TGO • JViews TGO Faces Select Interactor • JViews Framework Faces Interactors within JViews TGO • JViews Framework Faces Contextual Menu within JViews TGO • Integration of Server Actions in the Contextual Menu • Integration of Client Actions in the Contextual Menu • JViews Framework Faces Message Box within JViews TGO • JViews Framework Faces Pop-up Control • Styling Customization of JViews Framework and TGO Faces Components • JViews TGO Faces Client Select Interactor |
JSF Integration - Equipment Viewer | • Use of realistic images as the equipment and business objects • Sharing the same business objects between both components • JViews TGO Faces Equipment View Component • JViews TGO Faces Network View Component • JViews TGO Faces Client Select Interactor • JViews Framework Faces Overview within JViews TGO • JViews Framework Faces Contextual Menu within JViews TGO • Integration of Client Actions in the Contextual Menu • Integration of Server and Client Actions at once in the Contextual Menu • Integration of JavaScript code with the Client Select Interactor method bindings • JViews Framework Faces Interactors within JViews TGO • JViews Framework Faces Image Button within JViews TGO • JViews Framework Faces Message Box within JViews TGO • JViews Framework Faces Contextual Control • Styling Customization of JViews Framework and TGO Faces Components |
JSF Integration - Monitoring | • From a business point of view, this sample shows how to implement the following use cases:
• From a developer point of view, this sample illustrates how to approach the following topics:
|
JSF Network Component - Customizing Business Objects | • Advanced Customization of the business objects' Look-And-Feel • JViews TGO Faces Network View Component • JViews TGO Faces Select Interactor • JViews Framework Faces Overview within JViews TGO • JViews Framework Faces Contextual Menu within JViews TGO • Integration of Server Actions in the Contextual Menu • Integration of Client Actions in the Contextual Menu • JViews Framework Faces Interactors within JViews TGO • JViews Framework Faces Image Button within JViews TGO • JViews Framework Faces Message Box within JViews TGO • JViews Framework Faces Contextual Menu Control • Advanced Look-And-Feel customization • Styling Customization of JViews Framework and TGO Faces Components |
JSF Network Component - Step-By-Step | • JViews TGO Faces Network View Component • Using the project tag attribute• Using the dataSourceId tag attribute• Using the styleSheets tag attribute• Using the data tag attribute• Using the binding tag attribute• JViews Framework Faces Overview within JViews TGO • JViews Framework Faces Zoom Tool within JViews TGO • JViews Framework Faces Pan Tool within JViews TGO • JViews Framework Faces Image Button within JViews TGO • JViews TGO Faces Select Interactor • JViews Framework Faces Interactors within JViews TGO • JViews Framework Faces Contextual Menu within JViews TGO • Integration of Server Actions in the Contextual Menu • Integration of Client Actions in the Contextual Menu • JViews Framework Faces Message Box within JViews TGO • JViews Framework Faces Pop-up Control • Styling Customization of JViews Framework and TGO Faces Components • JViews TGO Faces Client Select Interactor |
JViews TGO Faces component in a Facelets and Trinidad Context | • JavaServer Faces TGO • Facelets • Apache Trinidad |
Network Component - Alarm | • Basic initialization
See the network/basic sample for details.
• Creating business objects with different alarms • Displaying states and alarms on business objects • Using CSS pseudo-classes for advanced configuration |
Network Component - Bandwidth | • Initializing a JTGO application using a deployment descriptor • Creating a data source • Creating a network component and configuring it using a CSS configuration file • Associating the data source with the network component • Creating business objects and adding them into a data source using the API • Defining a default view interactor using CSS • Customizing the State representation • Using Performance states |
Network Component - Basic | • Initializing a JTGO application using a deployment descriptor • Creating a network component • Reading project information from an XML file containing CSS configuration and data source configuration |
Network Component - Basic Editor | • Using JViews TGO projects files (*.itpr) to store JViews TGO configuration (data, configuration and styling) • Adding and removing objects to a network component at runtime via point-and-click interactors • Creating a Network Element Create toolbar button • Editing and saving the background configuration of a network component • Importing JViews Maps Map Builder generated backgrounds and the associated Map Theme to be used in the network component • Grouping and Ungrouping functionality to create subnetworks on-the-fly • Using JViews Maps beans (coordinate viewer, graphic scale, scale editor...) within JViews TGO • Editing properties of network objects via a property editor |
Network Component - Blinking | • Defining a blinking manager with a deployment descriptor • Initializing a JTGO application using a deployment descriptor • Creating an IlpNetwork
• Loading a network component configuration which defines the blinking colors |
Network Component - BTS | • Initializing a JTGO application • Creating a data source • Creating a network component and connecting it to the data source • Creating a BTS with its antennas and its equipment • Reading data from an XML file into a data source • Adding the network to your Swing application |
Network Component - Bus Layout | • Initializing a JTGO application using a deployment descriptor • Creating a data source • Creating a network component and configuring it using a CSS configuration file • Associating the data source with the network component • Reading data from an XML file into the data source • Configuring the bus layout to be used with the JTGO network component |
Network Component - Composite Graphics | • Basic initialization.
See the network/basic sample for details.
• Creating custom business classes See the network/customClasses sample for details.
• Creating graphic objects to represent objects and attributes of custom classes. • Mapping attributes of custom classes to graphic properties of network nodes and links using style sheets. • Toggling the visibility of decorations by using style sheets and pseudoclasses. |
Network Component - Custom Classes | • Basic initialization
See the network/basic sample for details.
• Creating custom business classes. • Mapping attributes of custom classes to graphic properties of network nodes and links using cascading style sheet. |
Network Component - Data Source API | • Initializing a JTGO application using a deployment descriptor • Creating a network component • Using a mutable style sheet to dynamically modify the CSS configuration • Using the data source API to define business object relationships • Using the data source API to add business objects |
Network Component - Decoration | • Basic initialization
See the network/basic sample for details.
• Creating custom business classes. • Mapping attributes of custom classes to new decorations of network nodes by using cascading style sheets. • Adding interactors to custom business attributes by using cascading style sheets. • Customizing the visibility threshold for new decorations. • Customizing the layer policy for new decorations. |
Network Component - Geographic Information | • Load-on-demand of JTGO objects • Layer visibility depending on zoom |
Network Component - Geographic Positioning | • Initializing a JTGO application using a deployment descriptor • Creating a data source • Creating a network component with a CSS configuration file that refers to a background map • Enabling geographic coordinates through a position converter • Focusing on a part of the map by zooming • Associating the data source with the network component • Reading data from an XML file into a data source • Converting screen coordinates back to geographic coordinates |
Network Component - Label Layout | • Initializing a JTGO application using a deployment descriptor • Creating a data source • Creating a network component and configuring it using a CSS configuration file • Associating the data source with the network component • Reading data from an XML file into a data source • Performing label layout in the network component |
Network Component - Link Ports | • Basic initialization
See the network/basic sample for details.
• How to constrain all links ending on a particular node • How to constrain a particular link • Using the • Using the |
Network Component - Links | • Basic initialization
See the network/basic sample for details.
• Using • Using • Using • Displaying link technology information. |
Network Component - Performance | • Time to fill the data source • Time to get a first display • Total time from the start of the sample to the end of the display • Time to update an attribute in all the objects and display the results • Time to clear the data source and display the results |
Network Component - Straight Link Performance | • Time to fill the data source • Time to get a first display • Total time from the start of the sample to the end of the display • Time to update an attribute in all the objects and display the results • Time to clear the data source and display the results |
Network Component - Styling | • Initializing a JTGO application using a deployment descriptor • Creating a data source • Reading data from an XML file into a data source • Creating a network component and configuring it using multiple CSS configuration files • Associating the data source with the network component |
Network Component - Topological Layout | • Creating a network component • Creating objects and adding them to the data source using XML • Configuring node layouts using CSS • Configuring link layout using the API |
Table Component - Alarm | •
Basic initialization. See the table/basic sample for details. • Declaring predefined business object for alarms in XML. • Setting a date format for alarm date attributes using cascading style sheets. |
Table Component - Basic | •
Initializing a JTGO application.
• Creating a table component. • Setting the business class accepted by the component. • Setting the project configuration. • Adding the table to your Swing application. |
Table Component - Custom Attributes | •
Basic initialization and usage. See the table/basic sample for details. • Creating reference and computed attributes. • Adding custom attributes to the table component. • Using fixed table columns. • Configuring a table component using cascading style sheets. |
Table Component - Custom Classes | •
Basic initialization. See the table/basic sample for details. • Declaring custom business classes in XML. • Using a JavaBeans class as a business class. • Mapping attributes of custom classes to graphic properties using cascading style sheets. |
Table Component - Custom Classes Performance | •
Time to fill the data source.
• Time to get a first display. • Total time from the start of the sample to the end of the display. • Time to scroll. • Time to update an attribute in all the objects and display the results. • Time to clear the data source and display the results. |
Table Component - Data Source API | •
Initializing a JTGO application
• Creating a table component • Setting the business class accepted by the component • Using the data source API to define business object relationships • Using the data source API to add business objects • Adding the table to your Swing application |
Table Component - Performance | •
Time to fill the data source.
• Time to get a first display. • Total time from the start of the sample to the end of the display. • Time to scroll. • Time to update an attribute in all the objects and display the results. • Time to clear the data source and display the results. |
Table Component - Styling | •
Initializing a JTGO application.
• Creating a data source. • Creating a table component and connecting it to the data source. • Reading data from an XML file into a data source. • Configuring the table component. • Configuring the table header. • Configuring the table cells. • Adding the table to your Swing application. |
TGO-SDM Adapter - Converter | • Initializing a Perforce JViews TGO application using a deployment descriptor • Initializing and configuring the TGO-SDM Adapter module • Associating a JViews TGO data source with the TGO-SDM Adapter module • Creating network and diagram components • Loading and applying styling to network and diagram components • Reading and writing XML files |
Tree Component - Basic | • Initializing a JTGO application • Creating a tree component • Reading data from project XML file • Sorting tree nodes • Managing selection in a tree • Showing a contextual pop-up menu • Defining custom interactions • Filtering tree nodes • Changing the rendering of the tree and its nodes |
Tree Component - Custom Classes | • Basic initialization
See the tree/basic sample for details
• Creating custom business classes • Mapping attributes of custom classes to graphic properties using a style sheet • Creating composite graphics to represent custom business objects in the tree |
Tree Component - Custom Classes Performance | • Time to fill the data source • Time to get a first display • Total time from the start of the sample to the end of the display • Time to expand the first node • Time to update an attribute in all the objects and display the results • Time to clear the data source and display the results |
Tree Component - Data Source API | • Initializing a JTGO application • Creating a tree component • Using the data source API to define business object relationships • Using the data source API to add business objects • Sorting tree nodes • Managing selection in a tree • Showing a contextual pop-up menu • Defining custom interactions • Filtering tree nodes • Changing the rendering of the tree and its nodes |
Tree Component - Performance | • Time to fill the data source • Time to get a first display • Total time from the start of the sample to the end of the display • Time to expand the first node • Time to update an attribute in all the objects and display the results • Time to clear the data source and display the results |
Tree Component - Styling | • Basic initialization
See the tree/basic sample for details.
• Creating custom business classes See the tree/customClasses sample for details.
• Mapping attributes of custom classes to graphic properties |
JViews classes used in each sample
Copyright © 2021 Rogue Wave Software, Inc., a Perforce company. All rights reserved.
Legal terms.