English 中文(简体)
利用SVG + Java进行灵活的信息展示,这是否可行?
原标题:Using SVG + Java for flexible information display, is this viable?
  • 时间:2010-10-01 13:20:27
  •  标签:
  • java
  • svg

我需要创建一种复杂的电力系统的“mimic”。 我可以查阅维奥实时状况信息和系统插图。

这是一种可行的办法:

  1. 创建特殊群体,从系统块块图中提取

  2. 4. 与特殊群体特性有关的特殊群体要素

  3. 将SVG DOM装入java

  4. 查明有标记的元件,并根据系统状况加以修改(例如,如果是“警示”的话,将计算元件)。

  5. 允许使用BATIK(使用一个周转部分:JVGCanvas)的GSG进入PNG。

一项关键要求是,在部署装备后,能够灵活修改特别志愿人员。 能够根据特别志愿人员小组的标签灵活地在不同的“数据点”。

Anyone have success using a similar strategy? What pitfalls should I expect? What is out there in the way of SVG editing tools?

最佳回答

我在健康表现方面做了类似的工作。 我实际上对数据物体作了说明,并将其国家推向“SVG”号案,但机器应当大致上得到同样的纠正。

福利:

  • Makes complex, dynamic diagrams insanely easy to render.
  • Diagram maintenance is a breeze compared to everything else I ve ever used.
  • Ability to target a web app either directly via SVG or an indirectly via server-rendered images delivered to the client.

陷阱:

  • Data binding can be painful depending on how complex you want your visualization to be. If you want to annotate the SVG to pull data into itself, this will probably end up being the hard part.
  • You ll need a good grasp of XPath to do anything even slightly tricky. It s never hard but is often tedious to debug XPath expressions.

Editors: Inkscape. There s a few other vector graphics editors out there that can do SVG, either directly or as an export target, but none of the ones I ve seen come close to Inkscape. It doesn t support every feature in the current SVG spec but it sounds like it ll be enough for most if not all of what you want. It s also pretty good about not blasting hand-edits to SVG files for when you need to something it doesn t support.

问题回答




相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签