tempusmud.carto.editor
Class CartoEditor

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--javax.swing.JPanel
                          |
                          +--tempusmud.carto.editor.CartoEditor

public final class CartoEditor
extends javax.swing.JPanel
implements RoomConstantsI, CartoMapListener

See Also:
Serialized Form

Inner Class Summary
(package private)  class CartoEditor.RoomPanel
           
(package private)  class CartoEditor.StatsPanel
           
 
Inner classes inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
 
Inner classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent, javax.swing.JComponent.IntVector, javax.swing.JComponent.KeyboardBinding, javax.swing.JComponent.KeyboardState
 
Inner classes inherited from class java.awt.Component
java.awt.Component.AWTTreeLock
 
Field Summary
(package private)  javax.swing.JLabel _emptyLabel
           
(package private)  CartoMap _map
           
(package private)  CartoEditor.RoomPanel _roomPanel
           
(package private)  Exit _selectedExit
           
(package private)  Room _selectedRoom
           
(package private)  javax.swing.JPanel _statsPanel
           
(package private)  javax.swing.JTabbedPane _tabbedPane
           
(package private)  CartoTextEditor _textEditor
           
 
Fields inherited from class javax.swing.JComponent
_bounds, accessibleContext, listenerList, paintingChild, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Container
component, containerListener, layoutMgr, ncomponents
 
Fields inherited from class java.awt.Component
actionListenerK, adjustmentListenerK, appContext, background, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, componentListener, componentListenerK, componentOrientation, containerListenerK, cursor, dropTarget, enabled, eventMask, focusListener, focusListenerK, font, foreground, hasFocus, height, incRate, inputMethodListener, inputMethodListenerK, isInc, isPacked, itemListenerK, keyListener, keyListenerK, LEFT_ALIGNMENT, locale, LOCK, minSize, mouseListener, mouseListenerK, mouseMotionListener, mouseMotionListenerK, newEventsOnly, ownedWindowK, parent, peer, peerFont, popups, prefSize, RIGHT_ALIGNMENT, textListenerK, TOP_ALIGNMENT, valid, visible, width, windowListenerK, x, y
 
Fields inherited from interface tempusmud.carto.map.RoomConstantsI
dirExtentMods, dirOffsets, DOOR_CLOSED, DOOR_HIDDEN, DOOR_LOCKED, DOOR_OPEN, DOWN, EAST, EX_CLOSED, EX_HARD_PICK, EX_HEAVY_DOOR, EX_HIDDEN, EX_ISDOOR, EX_LOCKED, EX_NOMOB, EX_NOPASS, EX_NOSCAN, EX_ONEWAY, EX_PICKPROOF, EX_REINFORCED, EX_SECRET, EX_SPECIAL, EX_TECH, EX_WALL_ENERGY_F, EX_WALL_ENERGY_F_NOPASS, EX_WALL_FIRE, EX_WALL_FIRE_NOPASS, EX_WALL_FLESH, EX_WALL_FORCE, EX_WALL_ICE, EX_WALL_IRON, EX_WALL_STONE, EX_WALL_THORNS, EX_WALL_THORNS_NOPASS, F_TYPE_CONDUIT, F_TYPE_CONVEYOR, F_TYPE_ELEMENTAL_WIND, F_TYPE_ESCALATOR, F_TYPE_FALLING, F_TYPE_LAVA_FLOW, F_TYPE_NONE, F_TYPE_QUICKSAND, F_TYPE_RIVER_FIRE, F_TYPE_RIVER_SURFACE, F_TYPE_ROTATING_DISC, F_TYPE_SINKING_SWAMP, F_TYPE_UNDERWATER, F_TYPE_UNSEEN_FORCE, F_TYPE_VOLC_UPDRAFT, F_TYPE_WATER_VORTEX, F_TYPE_WIND, NORTH, NUM_DIRS, NUM_DOORFLAGS, NUM_FLOW_TYPES, NUM_ROOM_FLAGS, NUM_SECTOR_TYPES, revdirs, ROOM_ARENA, ROOM_ATRIUM, ROOM_BFS_MARK, ROOM_CLAN_HOUSE, ROOM_DARK, ROOM_DEATH, ROOM_DOCK, ROOM_EXPLOSIVE_GAS, ROOM_FLAME_FILLED, ROOM_GODROOM, ROOM_HOLYOCEAN, ROOM_HOUSE, ROOM_HOUSE_CRASH, ROOM_ICE_COLD, ROOM_INDOORS, ROOM_NOMAGIC, ROOM_NOMOB, ROOM_NOPHYSIC, ROOM_NOPSIONICS, ROOM_NORECALL, ROOM_NOSCIENCE, ROOM_NOTEL, ROOM_NOTRACK, ROOM_NULL_MAGIC, ROOM_PEACEFUL, ROOM_POISON_GAS, ROOM_RADIOACTIVE, ROOM_SLEEP_GAS, ROOM_SMOKE_FILLED, ROOM_SOUNDPROOF, ROOM_TUNNEL, ROOM_VACUUM, SECT_ASTRAL, SECT_BEACH, SECT_CITY, SECT_CLIMBING, SECT_CORNFIELD, SECT_DESERT, SECT_ELEMENTAL_AIR, SECT_ELEMENTAL_ASH, SECT_ELEMENTAL_DUST, SECT_ELEMENTAL_EARTH, SECT_ELEMENTAL_FIRE, SECT_ELEMENTAL_ICE, SECT_ELEMENTAL_LIGHTNING, SECT_ELEMENTAL_MAGMA, SECT_ELEMENTAL_MINERALS, SECT_ELEMENTAL_NEGATIVE, SECT_ELEMENTAL_OOZE, SECT_ELEMENTAL_POSITIVE, SECT_ELEMENTAL_RADIANCE, SECT_ELEMENTAL_SALT, SECT_ELEMENTAL_SMOKE, SECT_ELEMENTAL_STEAM, SECT_ELEMENTAL_VACUUM, SECT_ELEMENTAL_WATER, SECT_FIELD, SECT_FIRE_RIVER, SECT_FLYING, SECT_FOREST, SECT_FREESPACE, SECT_HILLS, SECT_INSIDE, SECT_JUNGLE, SECT_MOUNTAIN, SECT_NOTIME, SECT_PITCH_PIT, SECT_PITCH_SUB, SECT_ROAD, SECT_SWAMP, SECT_UNDERWATER, SECT_VEHICLE, SECT_WATER_NOSWIM, SECT_WATER_SWIM, sectorColors, SOUTH, UP, WEST
 
Constructor Summary
CartoEditor(CartoMap map, CartoTextEditor textEditor)
           
 
Method Summary
 java.awt.Dimension getPreferredSize()
           
 void mapChanged(CartoMapEvent evt)
           
 void setMap(CartoMap map)
           
 
Methods inherited from class javax.swing.JPanel
, getAccessibleContext, getUIClassID, paramString, updateUI
 
Methods inherited from class javax.swing.JComponent
_paintImmediately, addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, alwaysOnTop, bindingForKeyStroke, checkIfChildObscuredBySibling, computeVisibleRect, computeVisibleRect, contains, createToolTip, enableSerialization, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getAlignmentX, getAlignmentY, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getGraphics, getHeight, getInsets, getInsets, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getVisibleRect, getWidth, getX, getY, grabFocus, hasFocus, isDoubleBuffered, isFocusCycleRoot, isFocusTraversable, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, processComponentKeyEvent, processFocusEvent, processKeyBinding, processKeyBindings, processKeyBindingsForAllComponents, processKeyEvent, processMouseMotionEvent, putClientProperty, rectangleIsObscured, rectangleIsObscuredBySibling, registerKeyboardAction, registerKeyboardAction, registerWithKeyboardManager, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDoubleBuffered, setEnabled, setFont, setForeground, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPaintingChild, setPreferredSize, setRequestFocusEnabled, setToolTipText, setUI, setVisible, shouldDebugGraphics, superProcessMouseMotionEvent, unregisterKeyboardAction, unregisterWithKeyboardManager, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, applyOrientation, countComponents, deliverEvent, dispatchEventImpl, dispatchEventToSelf, doLayout, eventEnabled, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents_NoClientCode, getComponents, getCursorTarget, getLayout, getMouseEventTarget, getWindow, insets, invalidate, invalidateTree, isAncestorOf, layout, lightweightPrint, list, list, locate, minimumSize, nextFocus, paintComponents, postProcessKeyEvent, postsOldMouseEvents, preferredSize, preProcessKeyEvent, printComponents, printHeavyweightComponents, processContainerEvent, processEvent, proxyEnableEvents, proxyRequestFocus, remove, remove, removeAll, removeContainerListener, setCursor, setFocusOwner, setLayout, transferFocus, updateCursor, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, areInputMethodsEnabled, bounds, checkImage, checkImage, coalesceEvents, constructComponentName, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont_NoClientCode, getFont, getFontMetrics, getForeground, getInputContext, getInputMethodRequests, getIntrinsicCursor, getLocale, getLocation, getLocationOnScreen, getName, getNativeContainer, getParent_NoClientCode, getParent, getPeer, getSize, getToolkit, getToolkitImpl, getTreeLock, gotFocus, handleEvent, hide, imageUpdate, inside, isDisplayable, isEnabled, isEnabledImpl, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processInputMethodEvent, processMouseEvent, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setDropTarget, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_tabbedPane

javax.swing.JTabbedPane _tabbedPane

_emptyLabel

javax.swing.JLabel _emptyLabel

_map

CartoMap _map

_selectedRoom

Room _selectedRoom

_selectedExit

Exit _selectedExit

_textEditor

CartoTextEditor _textEditor

_roomPanel

CartoEditor.RoomPanel _roomPanel

_statsPanel

javax.swing.JPanel _statsPanel
Constructor Detail

CartoEditor

public CartoEditor(CartoMap map,
                   CartoTextEditor textEditor)
Method Detail

setMap

public void setMap(CartoMap map)

getPreferredSize

public java.awt.Dimension getPreferredSize()
Overrides:
getPreferredSize in class javax.swing.JComponent

mapChanged

public void mapChanged(CartoMapEvent evt)
Specified by:
mapChanged in interface CartoMapListener


Last modified: Sun Jan 30, 20:15 EST