public class AbstractToolPanel
Modifier and Type | Class and Description |
---|---|
static class |
AbstractToolPanel.ToolView |
Modifier and Type | Field and Description |
---|---|
protected static int |
ANIMATION_DURATION |
protected java.lang.Class[] |
historySettings |
protected ViewGroup |
parentView |
protected int |
toolHistoryLevel |
protected AbstractToolPanel.ToolView |
toolView |
protected float |
uiDensity |
Constructor and Description |
---|
AbstractToolPanel(ly.img.android.pesdk.backend.model.state.manager.StateHandler stateHandler) |
Modifier and Type | Method and Description |
---|---|
View |
attach(ViewGroup parentView) |
protected void |
callAttached(Context context,
View panelView) |
protected Animator |
createExitAnimator(View panelView) |
protected Animator |
createShowAnimator(View panelView) |
void |
detach(boolean revertChanges) |
boolean |
equals(java.lang.Object o) |
Feature |
feature() |
ly.img.android.pesdk.backend.model.state.AssetConfig |
getConfig() |
protected int |
getHistoryLevel() |
protected java.lang.Class[] |
getHistorySettings() |
protected ly.img.android.pesdk.backend.model.state.HistoryState |
getHistoryState() |
protected int |
getLayoutResource() |
View |
getPanelView() |
ly.img.android.pesdk.backend.model.state.manager.StateHandler |
getStateHandler() |
int |
hashCode() |
boolean |
isAcceptable() |
boolean |
isAttached() |
boolean |
isCancelable() |
boolean |
isInited() |
boolean |
isReady() |
protected void |
onAttached(Context context,
View panelView)
Called on attached the View.
|
protected int |
onBeforeDetach(View panelView,
boolean revertChanges)
Called before the View will detached. It is possible that this method will not call. Use #onDetached() instated to clear critical allocations.
|
void |
onDetach() |
protected void |
onDetached()
Called after View would detached.
|
void |
redoLocalState() |
void |
refresh() |
void |
revertChanges() |
protected void |
revertToInitialState() |
protected void |
saveEndState() |
protected void |
saveInitialState() |
void |
saveLocalState() |
protected void |
setupHistory() |
java.lang.String |
toString() |
void |
undoLocalState() |
void |
updateStageOverlapping(int bottomScreenPos) |
protected static int ANIMATION_DURATION
protected ViewGroup parentView
protected AbstractToolPanel.ToolView toolView
protected float uiDensity
protected int toolHistoryLevel
protected java.lang.Class[] historySettings
public AbstractToolPanel(ly.img.android.pesdk.backend.model.state.manager.StateHandler stateHandler)
public boolean equals(java.lang.Object o)
public int hashCode()
public View attach(ViewGroup parentView)
public void updateStageOverlapping(int bottomScreenPos)
protected int getLayoutResource()
protected Animator createShowAnimator(View panelView)
protected Animator createExitAnimator(View panelView)
public void detach(boolean revertChanges)
protected int onBeforeDetach(View panelView, boolean revertChanges)
Called before the View will detached. It is possible that this method will not call. Use #onDetached() instated to clear critical allocations.
public void onDetach()
public boolean isAttached()
public boolean isInited()
protected void callAttached(Context context, View panelView)
protected void onAttached(Context context, View panelView)
Called on attached the View.
context
- org.jetbrains.dokka.NodeRenderContent@5c533f8c: the view contextpanelView
- org.jetbrains.dokka.NodeRenderContent@23a3585a: this tool panel viewpublic void refresh()
protected void onDetached()
Called after View would detached.
protected void setupHistory()
public Feature feature()
public boolean isAcceptable()
public boolean isCancelable()
protected void saveInitialState()
protected void saveEndState()
protected void revertToInitialState()
public void saveLocalState()
public void redoLocalState()
public void undoLocalState()
protected int getHistoryLevel()
protected java.lang.Class[] getHistorySettings()
protected ly.img.android.pesdk.backend.model.state.HistoryState getHistoryState()
public boolean isReady()
public View getPanelView()
public ly.img.android.pesdk.backend.model.state.manager.StateHandler getStateHandler()
public ly.img.android.pesdk.backend.model.state.AssetConfig getConfig()
public void revertChanges()
public java.lang.String toString()