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

## com.huguesjohnson.tiamat.graphics
Class Selection

    java.lang.Object
      com.huguesjohnson.tiamat.graphics.Selection

    public class Selection

extends java.lang.Object

Selection - a representation of a selection on a game menu.

Author:
  Hugues Johnson

Constructor Summary
`Selection(java.lang.String caption, Event event)` Create a new instance of Selection.

Method Summary
`java.lang.String` | `getCaption()` Returns the caption for this Selection.
`Event` | `getEvent()` Returns the Event associated with this Selection.

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

Constructor Detail

### Selection

    public Selection(java.lang.String caption,
                     Event event)

  Create a new instance of Selection.

  Parameters:
    `caption` - The caption for this Selection.
    `event` - The Event associated with this Selection.

Method Detail

### getCaption

    public java.lang.String getCaption()

  Returns the caption for this Selection.

  Returns:
    The caption for this Selection.

### getEvent

    public Event getEvent()

  Returns the Event associated with this Selection.

  Returns:
    The Event associated with this Selection.

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

Copyright © 2004-2006 Hugues Johnson