edu.jhu.tmaj.client.frida.data
Class MaskChangeEvent

java.lang.Object
  extended by edu.jhu.tmaj.client.frida.data.MaskChangeEvent

public final class MaskChangeEvent
extends java.lang.Object

Represents an event where a mask is added or deleted or has its name changed. A MaskChangeEvent might be fired when a user changes a mask name is defined-masks section. We would want to notify the analysis-masks section, because we will want to change the mask name there if it exists. We would also want to notify the MetaMasksGui, because the mask name might exist there too. We use this class because one mask may exist in several different Guis.


Nested Class Summary
static class MaskChangeEvent.MaskChangeEventType
          Represents several ways a user may change a mask.
 
Constructor Summary
MaskChangeEvent(MaskChangeEvent.MaskChangeEventType type, Mask mask)
           
 
Method Summary
 Mask getMask()
           
 MaskChangeEvent.MaskChangeEventType getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaskChangeEvent

public MaskChangeEvent(MaskChangeEvent.MaskChangeEventType type,
                       Mask mask)
Method Detail

getType

public MaskChangeEvent.MaskChangeEventType getType()

getMask

public Mask getMask()