net.sf.latexdraw.actions
Class ShowHideAction

java.lang.Object
  extended by org.malai.action.Action
      extended by net.sf.latexdraw.actions.ShowHideAction
Direct Known Subclasses:
ShowHideScaleRuler

public abstract class ShowHideAction
extends Action

This abstract action modifies the visibility of an object.

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.

11/12/2010

Since:
3.0
Author:
Arnaud BLOUIN

Nested Class Summary
 
Nested classes/interfaces inherited from class org.malai.action.Action
Action.ActionStatus
 
Field Summary
protected  boolean show
          True: the code panel will be show.
 
Fields inherited from class org.malai.action.Action
status
 
Constructor Summary
ShowHideAction()
          Creates the action.
 
Method Summary
 void setVisible(boolean show)
          Defines if the code panel must be hide or shown.
 
Methods inherited from class org.malai.action.Action
abort, cancelledBy, canDo, doActionBody, doIt, done, flush, getStatus, hadEffect, isDone, isRegisterable, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

show

protected boolean show
True: the code panel will be show. Otherwise, it will be hide.

Constructor Detail

ShowHideAction

public ShowHideAction()
Creates the action.

Since:
3.0
Method Detail

setVisible

public void setVisible(boolean show)
Defines if the code panel must be hide or shown.

Parameters:
show - True: the code panel will be show. Otherwise, it will be hide.
Since:
3.0