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

## igeo.gui
Class IPane

    java.lang.Object
      igeo.gui.IComponent
          igeo.gui.IPane

    public class IPane

extends IComponent

A pane object to provide one rectangular area to draw objects. One pane is associated with one IView and INavigator and retained by IPanel.

See Also:
  `IView`, `INavigator`, `IPanel`

Field Summary
`java.awt.Color` | `borderColor`
`java.awt.BasicStroke` | `borderStroke`
`float` | `borderWidth`
`INavigator` | `navigator`
`IPanel` | `parent`
`IView` | `view`

Fields inherited from class igeo.gui.IComponent
`height, visible, width, x, y`

Constructor Summary
`IPane(int x, int y, int width, int height, IView view, IPanel p)`

Method Summary
`void` | `draw(IGraphics g)`
`void` | `focus()` Focus view on objects
`void` | `focus(java.util.ArrayList<IObject> e)` Focus view on objects
`void` | `focusGained(java.awt.event.FocusEvent e)`
`void` | `focusLost(java.awt.event.FocusEvent e)`
`java.awt.Color` | `getBorderColor()`
`float` | `getBorderWidth()`
`IPanel` | `getPanel()`
`IView` | `getView()`
`void` | `keyPressed(java.awt.event.KeyEvent e)`
`void` | `keyReleased(java.awt.event.KeyEvent e)`
`void` | `keyTyped(java.awt.event.KeyEvent e)`
`void` | `mouseClicked(java.awt.event.MouseEvent e)`
`void` | `mouseDragged(java.awt.event.MouseEvent e)`
`void` | `mouseEntered(java.awt.event.MouseEvent e)`
`void` | `mouseExited(java.awt.event.MouseEvent e)`
`void` | `mouseMoved(java.awt.event.MouseEvent e)`
`void` | `mousePressed(java.awt.event.MouseEvent e)`
`void` | `mouseReleased(java.awt.event.MouseEvent e)`
`void` | `mouseWheelMoved(java.awt.event.MouseWheelEvent e)`
`INavigator` | `navigator()`
`void` | `setBorderColor(java.awt.Color c)`
`void` | `setBorderWidth(float b)`
`void` | `setBounds(int x, int y, int w, int h)`
`void` | `setParent(IPanel p)`
`void` | `setView(IView view)`

Methods inherited from class igeo.gui.IComponent
`contains, getHeight, getWidth, getX, getY, hide, isVisible, setBounds, setLocatoin, setSize, show`

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

Field Detail

### parent

    public IPanel parent

### view

    public IView view

### navigator

    public INavigator navigator

### borderWidth

    public float borderWidth

### borderColor

    public java.awt.Color borderColor

### borderStroke

    public java.awt.BasicStroke borderStroke

Constructor Detail

### IPane

    public IPane(int x,
                 int y,
                 int width,
                 int height,
                 IView view,
                 IPanel p)

Method Detail

### setParent

    public void setParent(IPanel p)

### getPanel

    public IPanel getPanel()

### setBorderWidth

    public void setBorderWidth(float b)

### getBorderWidth

    public float getBorderWidth()

### setBorderColor

    public void setBorderColor(java.awt.Color c)

### getBorderColor

    public java.awt.Color getBorderColor()

### navigator

    public INavigator navigator()

### setBounds

    public void setBounds(int x,
                          int y,
                          int w,
                          int h)

  Overrides:
    `setBounds` in class `IComponent`

### setView

    public void setView(IView view)

### getView

    public IView getView()

### draw

    public void draw(IGraphics g)

### focus

    public void focus()

  Focus view on objects

### focus

    public void focus(java.util.ArrayList<IObject> e)

  Focus view on objects

### mousePressed

    public void mousePressed(java.awt.event.MouseEvent e)

### mouseReleased

    public void mouseReleased(java.awt.event.MouseEvent e)

### mouseClicked

    public void mouseClicked(java.awt.event.MouseEvent e)

### mouseEntered

    public void mouseEntered(java.awt.event.MouseEvent e)

### mouseExited

    public void mouseExited(java.awt.event.MouseEvent e)

### mouseMoved

    public void mouseMoved(java.awt.event.MouseEvent e)

### mouseDragged

    public void mouseDragged(java.awt.event.MouseEvent e)

### mouseWheelMoved

    public void mouseWheelMoved(java.awt.event.MouseWheelEvent e)

### keyPressed

    public void keyPressed(java.awt.event.KeyEvent e)

### keyReleased

    public void keyReleased(java.awt.event.KeyEvent e)

### keyTyped

    public void keyTyped(java.awt.event.KeyEvent e)

### focusLost

    public void focusLost(java.awt.event.FocusEvent e)

### focusGained

    public void focusGained(java.awt.event.FocusEvent e)

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