Font Size: a A A

Design Of The Graph Component Libray And Its Application To Power Industry

Posted on:2007-03-16Degree:MasterType:Thesis
Country:ChinaCandidate:C W ZouFull Text:PDF
GTID:2178360212967763Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
In real life, we often encounter a wide variety of networks, such as computer networks, power grids and rail transportation network. To facilitate the monitoring of these networks, we should provide a humanized Graphics User Interface through which users can manage their networks. In order to construct such a Graphics User Interface, we must analyze the structure of these networks and abstract data. We find that although the different use of each of these networks, but from the point of Graph Theory their data structure is exactly the same. We can use the term "graph" to describe these networks. However, existing user interface libraries rarely provide graph components to support the "graph" structure. We also encounter such a problem when we develop the power-grid GUI monitoring system with Java Swing. Swing library offers components for lists, tables, and trees, but graph components haven't been implemented.To monitor various networks that have the"graph"structure, we need the corresponding graph components. In this paper, we implement a customized graph library and develop the power-grid GUI monitoring system with its help. In the text, we discuss the following topics in detail: MVC model, event handling, layout management, painting component, undoing and redoing, dragging and dropping, multi-thread processing and so on. Although this paper is raised from the power-grid GUI monitoring system, we seek the universality in the design and realization of the graph components. After expatiating the design and realization of the graph library in detail, we also discuss the data communicating when we apply our graph library to GUI monitoring system under 3-tier architecture, in which we use XML, Java Serialization, Http Object Flow.and some other technologies.
Keywords/Search Tags:component, graph, 3-tier architecture, XML, Swing
PDF Full Text Request
Related items