net.sf.latexdraw.instruments
Class TabSelector

java.lang.Object
  extended by org.malai.instrument.Instrument
      extended by net.sf.latexdraw.instruments.TabSelector
All Implemented Interfaces:
ActionHandler, Preferenciable, Modifiable, Reinitialisable, UndoHandler

public class TabSelector
extends Instrument

This instrument (de-)activates instruments while changing of tab (drawing tab, PST tab, etc.).

This file is part of LaTeXDraw.
Copyright (c) 2005-2012 Arnaud BLOUIN

LaTeXDraw is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
LaTeXDraw is distributed without any warranty; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

12/09/2011

Since:
3.0
Author:
Arnaud BLOUIN

Nested Class Summary
private static class TabSelector.TabSelected2ActivateInstruments
           
 
Field Summary
protected  LFrame frame
          The main frame of the system.
 
Fields inherited from class org.malai.instrument.Instrument
activated, eventables, links, modified
 
Constructor Summary
TabSelector(LFrame frame)
          Creates the instrument.
 
Method Summary
protected  void initialiseLinks()
          Initialises the links of the instrument.
 
Methods inherited from class org.malai.instrument.Instrument
addEventable, addLink, clearEvents, getLinks, getSizeLinks, hasLinks, interimFeedback, isActivated, isModified, load, onActionAborted, onActionAdded, onActionCancelled, onActionDone, onActionExecuted, onUndoableAdded, onUndoableRedo, onUndoableUndo, reinit, removeLink, save, setActivated, setModified
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

frame

protected LFrame frame
The main frame of the system.

Constructor Detail

TabSelector

public TabSelector(LFrame frame)
Creates the instrument.

Parameters:
frame - The main frame of the system.
Throws:
java.lang.IllegalArgumentException - If the given argument is null.
Since:
3.0
Method Detail

initialiseLinks

protected void initialiseLinks()
Description copied from class: Instrument
Initialises the links of the instrument.

Specified by:
initialiseLinks in class Instrument