Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## igeo
Class IGraphicServer

    java.lang.Object
      igeo.IGraphicServer

    public class IGraphicServer

extends java.lang.Object

A server to contain graphic objects to manage drawing process.

Version:
  0.7.0.0
Author:
  Satoru Sugihara

Field Summary
`java.util.ArrayList<IGraphicI>` | `graphicsGL`
`java.util.HashMap<IView,java.util.ArrayList<IGraphicI>>` | `graphicsJava`
`IGraphicMode[]` | `modes`
`IPanel` | `panel`
`IServer` | `server`
`boolean` | `useGL`
`java.util.ArrayList<IView>` | `views`

Constructor Summary
`IGraphicServer(IServer s, IPanel p)`

Method Summary
`void` | `add(IGraphicI e, IView view)`
`void` | `add(IObject e)`
`void` | `addView(IView v)`
`void` | `background(java.awt.Color c1, java.awt.Color c2, java.awt.Color c3, java.awt.Color c4)`
`void` | `bg(java.awt.Color c1, java.awt.Color c2, java.awt.Color c3, java.awt.Color c4)`
`void` | `clearObjects()` remove all the graphic objects
`void` | `clearViews()` remove all views.
`void` | `disableGL()`
`void` | `enableGL()`
`java.util.ArrayList<IGraphicI>` | `getObjects(IView view)`
`boolean` | `isGL()`
`void` | `remove(IGraphicI g)`
`void` | `setMode(IGraphicMode m)`
`IView` | `view(int i)`
`int` | `viewNum()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### graphicsGL

    public java.util.ArrayList<IGraphicI> graphicsGL

### graphicsJava

    public java.util.HashMap<IView,java.util.ArrayList<IGraphicI>> graphicsJava

### views

    public java.util.ArrayList<IView> views

### server

    public IServer server

### panel

    public IPanel panel

### modes

    public IGraphicMode[] modes

### useGL

    public boolean useGL

Constructor Detail

### IGraphicServer

    public IGraphicServer(IServer s,
                          IPanel p)

Method Detail

### addView

    public void addView(IView v)

### view

    public IView view(int i)

### viewNum

    public int viewNum()

### setMode

    public void setMode(IGraphicMode m)

### enableGL

    public void enableGL()

### disableGL

    public void disableGL()

### isGL

    public boolean isGL()

### bg

    public void bg(java.awt.Color c1,
                   java.awt.Color c2,
                   java.awt.Color c3,
                   java.awt.Color c4)

### background

    public void background(java.awt.Color c1,
                           java.awt.Color c2,
                           java.awt.Color c3,
                           java.awt.Color c4)

### add

    public void add(IObject e)

### add

    public void add(IGraphicI e,
                    IView view)

### getObjects

    public java.util.ArrayList<IGraphicI> getObjects(IView view)

### remove

    public void remove(IGraphicI g)

### clearObjects

    public void clearObjects()

  remove all the graphic objects

### clearViews

    public void clearViews()

  remove all views. don't clearViews before clearObjects

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD